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

Is learning C really a must for a programmer?

Name: Anonymous 2012-09-02 6:17

Many have this opinion. Somehow, by doing manual memory management allocation and garbage mangement one would become a better programmer.

I have little experience in C mainly because I can write terser and more readable code in Racket or Haskell. However I'm willing to give C a try just to learn these lessons that everybody keeps talking.

But I have a sneaking suspicion that I already know most of what is there to know. Can you list some useful lessons that a typical high level code dweller would be oblivious of?

Name: Anonymous 2012-09-04 23:33

The dynamic memory allocation functions return error values if they fail.
Not on Linux, they don't. Linux will happily tell you that all is well, and then randomly kill unsuspecting processes until there's enough memory available to make it work or until it kills something critical like init.

Name: Anonymous 2012-09-04 23:41


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