About OOP: object-oriented programming

About OOP: object-oriented programming.

It’s been more than three decades since OOP came into this world. And the software industry has changed a lot, too. Nowadays, software is common merchandise like toothpaste. And OOP has become the main frame of software developing. There are also many excellent OOP languages which provides full OOP features to developers. But software development remains in mess.

OOP is a software development method, is a design strategy. Programming in OOP supported language is not equal to programming in OOP. All the features of OOP including inheritance, interface, inner class, polymorphism, dynamic binding, abstraction, information hiding should be considered in design phase. Any language can be programmed in OOP way. Some OOP languages (Java, C++ or Python) are nothing more than supporting those features explicitly. The truth is that a good OOP designed software can easily be implemented with procedural language like C, only provided the design is OOP enough.

There are many excellent software which is implemented with C in OOP way. GTK+, for example, is fully OOP and written in C. And there is a excellent books about programming OOP with ANSI C called <OOP with ANSI C>. By now, you should be fully convinced that OOP has nothing to do with programming language.

OOP is a method, a conception and a mind level solution. We should enhance our comprehension about it. We should learn when and where to use those features to improve our solutions. It is such a thing if you can use it right, it is really powerful. Otherwise, it is really harmful and the software development process would be worse than without using OOP.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值