问题描述
我仍然是一个死硬的C程序员。几年前我做了一个C ++课程
但是我从来没有认真用这种语言编写代码。
C是否会被OOP取代?
I am still a die hard C programmer. I did a C++ course a few years ago
but I have never seriously coded in the language.
Is C ever going to be superseded by OOP?
推荐答案
No.
No.
这不是一个理性的问题。 C和C ++是编程语言的
。 OOP是一种设计策略。
可以选择编写OOP程序,使用
C,C ++或其他语言。 C ++确实有特定的
功能,旨在促进C不具备的OOP,所以如果你的设计是OOP,C ++可能会更好
选择。最后,不要相信OOP
是所有问题的解决方案的神话。选择合适的
工具。
-Mike
That is not a rational question. C and C++ are
programming languages. OOP is a design strategy.
One can choose to write OOP programs or not, using
C, C++ or some other language. C++ does have specific
features intended to facilitate OOP which C does not
have, so if your design is OOP, C++ might be the better
choice. Finally, don''t believe the myth that OOP
is the solution to all problems. Choose the right
tool for the job.
-Mike
a)C完全能够用于面向对象的编程。
b)没有专为面向对象编程设计的语言
显示能够在任何首选的
域中替换C的任何承诺(也许Objective-C有最好的镜头)。
感谢您拼写superseded正确。
a) C is perfectly capable of being used for object-oriented programming.
b) No language designed specifically for object-oriented programming
shows any promise of being able to replace C in any of its preferred
domains (perhaps Objective-C had the best shot).
Thank you for spelling "superseded" correctly.
这篇关于被c ++取代?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!