From: Andrew Lentvorski <[EMAIL PROTECTED]>
Gabriel Sechan wrote:
The fact there's a work around doesn't excuse it as a language flaw.
Language flaw? You want to use C as an example of a language with fewer
flaws than ... well ... anything?
Let's start with:
if (a = 0) {
foo;
}
Precedence binding. Arrays are pointers, except when they're not. The
macro system and side effects. etc.
I'm not sure what you mean by precedence binding. Arrays are always
pointers, the asm for the two are identical. The macro system was a hack
for lack of inlines and const, now fixed. Side effects have a bad rap-
undocumented side effects are bad, but the ability to have side effects is
extremely useful (OO programming is based on side effects- changing a
member variable is a side effect).
If we start talking about language deficiencies, C comes in as *very*
deficient.
Every language is defficient. C just has the least of them.
Gabe
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list