PHP中的OO [英] OO in PHP

查看:62
本文介绍了PHP中的OO的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请有人告诉我为什么PHP中的OO优于程序性。

Please, someone, tell me why OO in PHP is better than procedural.

推荐答案

Mudge写道:
Mudge wrote:
请有人告诉我为什么PHP中的OO优于程序性。
Please, someone, tell me why OO in PHP is better than procedural.




请具体说明。不要告诉我一些像它一般的增加

代码可重用性。



And please be specific. Don''t tell me something general like it increases
code re-usibility.


Mudge写道:
Mudge wrote:
请有人告诉我为什么PHP中的OO优于程序性。
Please, someone, tell me why OO in PHP is better than procedural.




谁说的是?对于某些事情,OO更好,对于其他人来说,程序性更好。对于我编程的所有OO语言,我会说同样的,并且

我经常在项目中混合使用这两种语言。


-

Chris Hope - 电动工具箱 - http://www.electrictoolbox.com/


*** Mudge写道/escribió(星期四,2004年7月8日06:23:52 GMT):
*** Mudge wrote/escribió (Thu, 08 Jul 2004 06:23:52 GMT):
请具体说明。不要告诉我一些像它一样的通用增加代码重复性。
And please be specific. Don''t tell me something general like it increases
code re-usibility.




如果你想要具体的答案你应该提出具体的问题,不应该''你好吗?b $ b? ;-)在计算机科学中,你永远不能说A比B更好。没有

首先考虑你需要做什么。


-

-

- - álvaroG。Vicario - 西班牙布尔戈斯

-



If you want specific answers you should make specific question, shouldn''t
you? ;-) In computer science you can never say "A is better than B" without
first considering what you need to do.

--
--
-- álvaro G. Vicario - Burgos, Spain
--


这篇关于PHP中的OO的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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