Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Why C sucks

Name: Anonymous 2009-08-20 11:53

Shitty,slow and bug-prone string functions. NULL termination and strlen are shining examples of defective design.

No memory management, plenty of things going down the drain if
you don't watch them all. Malloc and free are slow and inefficient, and they ruin performance if used in fast loops.

Variadic functions: all C has is shitty macro which doesn't implement anything useful. C cannot determine types of such variadiac arguments at runtime. Everything is static.

Typeof(non-standard)/sizeof/pointer casts in many programs show how defective the implementation of only object C manages(the pointer) natively. Pointers(and arrays which are also pointers) are the glue of C, yet they lack anything useful(like size or datatype,sizeof alternatives like _msize/malloc_usable_size and typeof are ugly non-standard hacks)  and people use void pointers for felxibility.

Name: Anonymous 2009-08-22 16:19

>>43
Naw, C isn't like that at all. It's backwards and primitive. It may seem to ignore the rules, but that's only because it hasn't managed to grasp their purpose. C likes to drive fast, but doesn't know why it should wear a seatbelt or slow down when it's raining. C will always be around — someone has to take care of the basics — but it will never be good for anything but delivering pizzas and selling its body. And it will never be able to satisfy your needs beyond those most carnal.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List