11.07.2015 Views

Introduction - Www-cours.it-sudparis.eu

Introduction - Www-cours.it-sudparis.eu

Introduction - Www-cours.it-sudparis.eu

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CSC7322: Object Oriented DevelopmentJ Paul Gibson, A207paul.gibson@telecom-<strong>sudparis</strong>.<strong>eu</strong>http://www-public.telecom-<strong>sudparis</strong>.<strong>eu</strong>/~gibson/Teaching/CSC7322/<strong>Introduction</strong>/~gibson/Teaching/CSC7322/L1-<strong>Introduction</strong>.pdf2013: J Paul Gibson TSP: Object Oriented Development CSC7322/<strong>Introduction</strong>.1


Objects: from real world to code?2010: J Paul Gibson TSP: Mathematical Foundations MAT7003/<strong>Introduction</strong>.2


OOP – A world of abstractions2013: J Paul Gibson TSP: Object Oriented Development CSC7322/<strong>Introduction</strong>.3


From module description2010: J Paul Gibson TSP: Mathematical Foundations MAT7003/<strong>Introduction</strong>.4


From module description2010: J Paul Gibson TSP: Mathematical Foundations MAT7003/<strong>Introduction</strong>.5


Web S<strong>it</strong>e: continually updated2010: J Paul Gibson TSP: Mathematical Foundations MAT7003/<strong>Introduction</strong>.6


Fotis Georgatos2013: J Paul Gibson TSP: Object Oriented Development CSC7322/<strong>Introduction</strong>.8


History: OOP and <strong>it</strong>s relation to other languageshttp://bluebones.net/evolution/evo-prog-lang.png2013: J Paul Gibson TSP: Object Oriented Development CSC7322/<strong>Introduction</strong>.9


Languagesthat we willdiscuss inthis module2013: J Paul Gibson TSP: Object Oriented Development CSC7322/<strong>Introduction</strong>.10


Note: eachlanguage hasalso evolvedover time.For example,JAVA has gonethrough 20+updates since Istarted using <strong>it</strong>:2013: J Paul Gibson TSP: Object Oriented Development CSC7322/<strong>Introduction</strong>.11


HISTORY OOD (figure from http://uml-tutorials.trireme.com/uml_tutorial_1.htm)2013: J Paul Gibson TSP: Object Oriented Development CSC7322/<strong>Introduction</strong>.12


What is the OO paradigm?A Brief History of the Object-Oriented ApproachLuiz Fernando Capretz2013: J Paul Gibson TSP: Object Oriented Development CSC7322/<strong>Introduction</strong>.13


What is the OO paradigm?Object-based?Class-based?Object-oriented?Pure object-oriented?Wegner, Peter. Dimensions ofobject-based language design.2013: J Paul Gibson TSP: Object Oriented Development CSC7322/<strong>Introduction</strong>.14


What do the functional programmers think of OO?2013: J Paul Gibson TSP: Object Oriented Development CSC7322/<strong>Introduction</strong>.16


Ps<strong>eu</strong>do Object-Oriented ProgrammingConsidered HarmfulConrad WeisertInformation Disciplines, Inc., Chicagohttp://www.idinews.com/westfall.pdfIf your only tool is ahammer, everythinglooks like a nail.Abraham Kaplan2013: J Paul Gibson TSP: Object Oriented Development CSC7322/<strong>Introduction</strong>.17


Ps<strong>eu</strong>do Object-Oriented ProgrammingConsidered HarmfulQUESTION:Wr<strong>it</strong>e a « hello world »program (or programs)that illustrate yourunderstanding of 1 ormore key objectoriented concepts.Present the programand the concept(s) tothe class2013: J Paul Gibson TSP: Object Oriented Development CSC7322/<strong>Introduction</strong>.18


Some PBLYou are to wr<strong>it</strong>e some Java code that can represent a fin<strong>it</strong>esequence of natural numbers eg:•2,3,4,5•1,2,3•6,7,8,9,10,11You are to be able to:create a new sequence as the overlap of 2 other sequencesoverlap 2,3,4,5 and 1,2,3 = 2,3create a new sequence as the interior of 2 other sequencesinterior 1,2,3 and 6,7,8,9,10,11 = 4,5,6test if 2 sequences are equaloutput a sequence to the terminal/screen2013: J Paul Gibson TSP: Object Oriented Development CSC7322/<strong>Introduction</strong>.19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!