??? 02/05/07 09:43 Read: times |
#132016 - C vs BASIC Responding to: ???'s previous message |
I said:
The original BASIC was a very crude thing with line numbers, only single-letter variables, no data typing, no concept of block scope, no structured control flow, etc, etc. In summary (and a couple of extras): Feature BASIC C ------------------------ --------- ---- line numbers Required Not required single-letter variables Only "long" names supported data typing None Yes block scope None Yes structured control flow None Yes pointers None Yes multi-file programs No? Yes I said:
This [original BASIC] tends to lead to a lot of bad programming habits ("spaghetti code", in particular), and would be a very bad choice today. Jan said:
Yeah, sure. And C is an excellent choice in this respect, isn't it... :-( As noted, there are only 3 reasons to choose 'C': http://www.8052.com/forum/read.phtml?id=132004 |