I've heard that some languages are better suited for a top-down approach to solving problems, while others are intended more for use with a bottom-up technique. Is C++ one of these languages? And if so, which style best suits C++ programming?
+2
A:
It is whatever you want. A programming language has nothing (or not much) to do with design methodologies.
Gorpik
2010-06-23 08:32:44
This is not quite right. Certain languages may force or propagate a certain approach. Therefore object-oriented languages such as C++ or Java are sometimes characterized as [bottom-up](http://en.wikipedia.org/wiki/Top-down#Programming) whereas procedural languages are described as top-down.
0xA3
2010-06-23 08:45:18
@0xA3: Note that C++ encourages both OO and procedural style, it's [not just an object-oriented language](http://www2.research.att.com/~bs/oopsla.pdf) :)
FredOverflow
2010-06-23 09:53:22
@0xA3: I designed bottom up in c, pascal and fortran on a regular basis back in the day, and you can come at c++ from the top down if you really want.
dmckee
2010-06-24 20:26:42