信息来源:阮一峰每周分享
文章来源:Why OO Sucks
When I was first introduced to the idea of OOP I was sceptical but didn’t know why—it just felt “wrong”. After its introduction OOP became very popular (I will explain why later) and criticising OOP was rather like “swearing in church”. OOness became something that every respectable language just had to have.
我第一次接触面向对象编程时不知道为什么是持怀疑态度的,我就是感觉“不对劲”。在面向对象编程变得越来越流行(我稍后会介绍为什么)后,批评面向对象就好像“在教堂诅咒别人”。面向对象变成每种可敬的编程语言所必须要拥有的东西。