190 likes | 351 Views
CSC7322: Object Oriented Development J Paul Gibson, A207 paul.gibson@telecom-sudparis.eu http:// www-public. telecom-sudparis.eu /~ gibson/Teaching/CSC7322/. Introduction /~ gibson / Teaching /CSC7322/L1-Introduction.pdf. Objects : from real world to code?.
E N D
CSC7322: Object OrientedDevelopment J Paul Gibson, A207 paul.gibson@telecom-sudparis.eu http://www-public.telecom-sudparis.eu/~gibson/Teaching/CSC7322/ Introduction /~gibson/Teaching/CSC7322/L1-Introduction.pdf TSP: Object OrientedDevelopment
Objects: from real world to code? TSP: MathematicalFoundations
OOP – A world of abstractions TSP: Object OrientedDevelopment
From module description TSP: MathematicalFoundations
From module description TSP: MathematicalFoundations
Web Site: continuallyupdated TSP: MathematicalFoundations
LanguagesEvolve NEXT? TSP: MathematicalFoundations
FotisGeorgatos TSP: Object OrientedDevelopment
History: OOP and its relation to otherlanguages http://bluebones.net/evolution/evo-prog-lang.png TSP: Object OrientedDevelopment
Languagesthatwewilldiscussin this module TSP: Object OrientedDevelopment
Note: eachlanguage has alsoevolved over time. For example, JAVA has gone through 20+ updates since I startedusingit: TSP: Object OrientedDevelopment
HISTORY OOD (figurefromhttp://uml-tutorials.trireme.com/uml_tutorial_1.htm) TSP: Object OrientedDevelopment
Whatis the OO paradigm? A Brief History of the Object-Oriented Approach Luiz Fernando Capretz TSP: Object OrientedDevelopment
Whatis the OO paradigm? Object-based? Class-based? Object-oriented? Pure object-oriented? Wegner, Peter. Dimensions of object-based language design. TSP: Object OrientedDevelopment
Somerecommendedreading … with more to come in later lectures TSP: Object OrientedDevelopment
What do the functionalprogrammersthink of OO? TSP: Object OrientedDevelopment
Pseudo Object-OrientedProgramming ConsideredHarmful Conrad Weisert Information Disciplines, Inc., Chicago http://www.idinews.com/westfall.pdf If your only tool is a hammer, everything looks like a nail. Abraham Kaplan TSP: Object OrientedDevelopment
Pseudo Object-OrientedProgramming ConsideredHarmful QUESTION: Write a « hello world » program (or programs) thatillustrateyourunderstanding of 1 or more keyobjectoriented concepts. Present the program and the concept(s) to the class TSP: Object OrientedDevelopment
Some PBL • You are to writesome Java code thatcanrepresent a finitesequence of naturalnumberseg: • 2,3,4,5 • 1,2,3 • 6,7,8,9,10,11 • You are to be able to: • create a new sequence as the overlap of 2 othersequences • overlap 2,3,4,5 and 1,2,3 = 2,3 • create a new sequence as the interior of 2 othersequences • interior 1,2,3 and 6,7,8,9,10,11 = 4,5,6 • test if 2 sequences are equal • output a sequence to the terminal/screen TSP: Object Oriented Development