面向程序的语言和面向对象的语言之间的差异? [英] Differences between PROCEDURE ORIENTED LANGUAGESAND OBJECT ORIENTED LANGUAGES?

查看:82
本文介绍了面向程序的语言和面向对象的语言之间的差异?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是php和C编程的初学者,现在我在基本概念上工作,但我的基础在这个平台上不是很清楚,所以请给我简单的语言答案,解决面向过程的语言和面向对象语言之间的差异。

I'm a beginner in php and C programming now i work on basic concept but my funda is not very clear on this platform so please give me simple language answer for What is differnet between procedure oriented language and object oriented language.?

推荐答案

简而言之,在POP中,主要强调的是程序,而在OOP中数据是重要的部分。



如需详细信息,请查看此处:

PDF:OOP与POP [ ^ ]

[ ^ ]



一个很好的解释这里 [ ^ ]:

对象定位[OO],一般来说,是一种建模现实世界或至少是问题的方法论通过将问题分解为称为对象的较小的离散片段来解决。

然而

相比之下,程序编程是一种通过确定步骤和方法对现​​实世界或正在解决的问题进行建模的方法。为达到预期结果或特定计划状态必须遵循的步骤顺序。
In short, In POP the main emphasis is on procedure while in OOP the data is important part.

For full detail, look here:
PDF: OOP Vs POP[^]
Difference between procedure oriented language and object oriented language [^]

A good explanation here[^]:
Object Orientation [OO], in general, is a methodology for modeling the real world or at least the problem being solved, by decomposing the problem into smaller discrete pieces called "Objects".
Whereas
Procedural Programming, by contrast, is a methodology for modeling the real world or the problem being solved, by determining the steps and the order of those steps that must be followed in order to reach a desired outcome or specific program state.


请点击此链接:



http://stepwisedotnet.com/Csharp/POP-OOP.aspx [ ^ ]
Follow this link:

http://stepwisedotnet.com/Csharp/POP-OOP.aspx[^]


这篇关于面向程序的语言和面向对象的语言之间的差异?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆