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.


It's so easy to put ( or ) by mistake and wonder why it won't compile, as they look very similar on most machines.

In all my years of programming, I've never ever had this problem. Maybe the fonts on windows are different? (Never programmed on windows)


Encourages writing of complicated code that is hard to understand

Yeah. That's true I guess. All those "pointer to a function taking a pointer to a char and returning an int" declarations are a bit tricky to decipher. And memory management is a pig.


Case sensitive

That's a pro, not a con.


I can probably think of some others

Memory management? Pointer fiddling?


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.

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.


Cheers,
Carl.



Reply via email to