Talk:C Programming/Why learn C?

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

[edit] Why Learn C?

Isn't Latin more like assembly in that regard?

Hmm, Latin is more like a hybrid between REBOL/APL with a COBOL-like syntax influenced by FORTH... or just not comparable. Rursus (talk) 18:18, 31 December 2007 (UTC)

[edit] Too much religion!

Section: Why C, and not Java or Basic or Perl? answers:

Mostly because of memory allocation.

This is a religious answer, and as such an effort of faith. The true answer is instead:

Learn all of them! If you need full control of memory allocation, then C is one of the better suited languages - along C++ and Objective-C.

Rursus (talk) 18:01, 31 December 2007 (UTC)

And, regarding C++: when parallel programming, the ill defined virtual class tables of C++ poses problems that makes object initialization troublesome in a subprocess. Therefore, C++ is either to be avoided in parallel systems, or a hard discipline of locking parallel processes must be taken. C is in this context more effective, which may explain why few, if any, operating systems are written in C++. (Then probably some Windows versions (but who knows (and who cares about MS anyway?))). Rursus (talk) 18:10, 31 December 2007 (UTC)