JavaCoding5-OOP.pptx - Java Coding 5 To object or not David...

Info icon This preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Java Coding 5 David Davenport Computer Eng. Dept., Bilkent University Ankara - Turkey. email: [email protected] To object or not…
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
IMPORTANT… Students… This presentation is designed to be used in class as part of a guided discovery sequence. It is not self- explanatory! Please use it only for revision purposes after having taken the class. Simply flicking through the slides will teach you nothing. You must be actively thinking, doing and questioning to learn! Instructors… You are free to use this presentation in your classes and to make any modifications to it that you wish. All I ask is an email saying where and when it is/was used. I would also appreciate any suggestions you may have for improving it. thank you, David .
Image of page 2
From the beginning… History of programming paradigms GoTo Programming (spaghetti code!) Structured Programming Object-Oriented Programming ??? Aspect-Oriented ??? Functional… response to need to build ever larger programs correctly, on time & on budget Design for change ! ~ maintenance ~ [ 1950 - 1970 ] [ 1970 - 1990 ] [ 1990 – today?]
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Key Attributes of OOP Abstraction, Encapsulation, Inheritance, Polymorphism What? Ease of reuse Speeds implementation & facilitates maintenance. Component-based approach Easy to use existing code modules Easy to modify code to fit circumstances! A natural way to view/model world Makes design quicker, easier & less error-prone.
Image of page 4
The world as we see it…? Look around & what do you see? Things? (books, chairs, tables, people…) Actually, claim we see individuals ! Ayse, David, my textbook, that chair, Mehmet’s pencil, etc. The world is a set of individual things interacting with each other.
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Describing the world (1) Describe a particular person Ayse has long blond hair, green eyes, is 1.63m tall, weighs 56Kg and studies computer engineering. Now lying down asleep.
Image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern