2014年1月21日 星期二

Week3: OOP

Ummm... My first programming related blog! Stepping into the third week of second semester, What have I learnt so far? Programming Of Course!!
Specificity, I've been learning about Class, Stack, and exception.
Class is a prototype for an object that defines a set of attributes and data that characterize any object of the class. So class one of the OOP.

Object-Oriented Program:
Object-oriented programming has its roots in the 1960s, but it wasn’t until the mid 1980s that it became the main programming paradigm used in the creation of new software. It was developed as a way to handle the rapidly increasing size and complexity of software systems, and to make it easier to modify these large and complex systems over time.  from: http://openbookproject.net/thinkcs/python/english3e/classes_and_objects_I.html 

  • There are valuable, which is data inside an object.
  • Methods are functions or procedures inside an object.
These are some of the most basic definitions of OOP.

沒有留言:

張貼留言