Object-oriented and process-oriented differences, exemplified

Process-oriented: execution step by step,
object-oriented: Call-by-object function,

		让一辆法拉利以200KM/h 路在一条10000KM的路,问需要多少时间?
		面向过程: 时间 = 路程 / 速度      数学思维
		面向对象: 有一个车(名字:法拉利,速度:200KM/h)   跑,
		         一要路(长度: 10000KM)
				 
				 
				 
		盖房子:  备料-打地基-砌墙-封顶-装修       亲力亲为的体验,
		盖房子:  工程队    装修公司              指挥者的体验

Guess you like

Origin blog.csdn.net/weixin_45052104/article/details/91430609