Patrick Dunford wrote:
Michael JasonSmith wrote:
On Wed, 2004-03-10 at 09:03, Carl Cerecke wrote:
As for C, the older I get, the less I like it (unless I'm writing I
program that outputs C code. Then it's OK).
It is still the ultimate programing language. Its faults are your faults.
OK. Can't let this go unanswered...
Too terse (a product of its era)
Best example of this has to be the {} brackets instead of begin end in Delphi.
Eh? Begin/end is far too verbose. Actually, {/begin and }/end are both redundant in well indented code, wehich is why python has no begin/end markers. They are unnecessary, and lead to difficult to diagnose (for the compiler) errors. Code is clearer without them.
So how does Python make a distinction between single and multiple statements within a structure such as a loop?
Verbosity is absolutely necessary to write self documenting code as a general rule.
Case sensitive
That's a pro, not a con.
Often claimed but not proved in my view.
On Windows I prefer to use Delphi. In PHP I go to un-C-like trouble to make the code easy to understand including all { } on a line by themselves.All functions and procedures should be written small enough to fit within the editor window. Get a bigger screen :)
Trouble is, with { and } on a line by themselves, you can see less of your program in your editor window. A good syntax-colouring editor means code can be vertically denser with no loss (actually, a gain) in comprehension.
