Quote:
Originally posted by Jcman:
VB.NET is going to have real OO features? Please give details. I'm tired of every moron who can use VStudio macros to generate database "apps" calling himself a programmer.
VB might become a real language if they added inheritance and real encapsulation. Is MS finally getting a clue?
|
Please explain why inheritance is so important. I use it in C++ every day but I don't think it's a really important feature. Inheritances more than one level deep are vanishingly useful.
As for encapsulation, that's one of those ideas like reciprocity or empathy; one is either born with it or not. Programmers who don't see the wisdom of hiding implementation are people who should be, oh, serving hamburgers or washing bottles .. not writing code.
VB actually did more for encapsulation than C++. C++ doesn't require developers to think, but anyone writing an OCX for VB found himself unable to use global variable or turn him implementation inside out and let clients hook up to its guts. These people were dragged kicking and screaming into writing halfway-partitioned code.