60 likes | 265 Views
Programming David Li CTO, DigitalSesame Why do we program? Fun? Money? Solve problem? 統一中國 ? 獨立台灣 ? Whatever!!! What is programming? Computer is a very dump system We need to tell computer what to do step by step! Programming is to solve a real world problem with computer
E N D
Programming David Li CTO, DigitalSesame
Why do we program? • Fun? • Money? • Solve problem? • 統一中國? • 獨立台灣? • Whatever!!!
What is programming? • Computer is a very dump system • We need to tell computer what to do step by step! • Programming is to solve a real world problem with computer
The History of Programming • 1970 Assembly • Translate the problem into bit and byte of computer language - (Understand of the hardware) • 1980 Procedural • Translate the problem into math like functions and procedures - (Understanding of math) • 1990 Object Oriented • Describe the problem with real world object - (Common sense)
Why Object Oriented? • More similar to the real world artifacts • Better to deal with complex system • Computer has become a tool to solve real world problem, not just number crunching
What is Object? • A simplified representation of the domain artifacts • Has state, method and identity • State: the data contained in a object • Method: the actions can be performed • Identity: the name of an object