--- On Wed, 7/22/09, Raul Miller <[email protected]> wrote: > > I do not know Roger's reasons, but I also have a dim view > of C++: > > C has a well defined ABI, C++ does not (and often you > will see its ABI change with new compiler releases). > > Also, C++ does not allow real abstraction because you must > always concern yourself with how the memory within your > objects was allocated. You can manage this but the > productivity > hit is not trivial.
I like C++, but agree with all the above. I think that the improved type checking and ability to abstract and encapsulate are worth it. C is just too much work, why not just write assembler? With a good macro assemble it can be as easy as C and gives you better control. > > Meanwhile, C++ is a lot harder to read, and finding the > relevant > definitions can be very time consuming. > > For example: > > x++<<y(); > > In C, this would be invalid code. In C++ it can be > valid code I'm sorry but coming from a J programmer, this strikes me as comical. I do not see how a fan of J can accuse any other language of being hard to read. I like J, but it is not easy to read. -EdK Ed Keith [email protected] Blog: edkeith.blogspot.com ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
