Wednesday, April 24, 2019

Object Oriented Programming: Origins of programming

Why do we program? To make machines what we what them to do. But machines speak in Binary language but humans don't.
Basic language is called machine language (eg punch card 1010101010)

Someone came up with idea > 'Hello Adam' <Compiler> 'changes to binary'

'Hello Adam' is a programming language and the first most successful was C

As program gets bigger next challenge was to make it manageable. Copy pasting code again again was not practical.

Next challenge how to make make multiple teams work on large program (& making it easier for ppl to think about it):
Sol: Functional programming and libraries

But programs became bigger, as next level challenge:
Sol: Object oriented programming  (means think about it as real world)

& Design pattern (eg MVC, Decorator, Singleton) - This is mainly Architecture of the program - it is experience/framework (handle such problems in such a way)

Tip: Noun is a object, adjective are properties, verb is a function

Processes & rules:


No comments:

Post a Comment