||What I Hate About Your Programming Language|
|Subject:||Why C sucks...|
Response to: Why C sucks...
|As many others said, you have some points, but these are only the reasons why C is GREAT for what it is. It is a low level language. Who said that people who aren't programming kernels, (and other things .. but you get the point), should learn C. #includes are part of the isolation compilation/linking/relocation part of a compiled laguage. It is necessary to have reffereces to things in other files such as function declarations or external variables. Since you must declare something before you can use it, headers are often used for prototypes. This type of use leads to things that can be thought of as bad style for new programmers as you have mentioned. Either way my point is that it is for the purpose of fast compilation that it is structured in such a way so that multiple passes don't have to be made through code and refferences to external entities are intentional and not a spelling error. A computer allows processes to have basically a stack and a heap, and C is the simplest way to directly access these in the way that it really is being done by processor instructions. I agree that other languages like Java for example give you a larger layer of abstraction in how it handles things, but that is why beginners should use Java and not C. C is the simplest, most direct control of the basic computer architecture while Java is some nice fluffy language that is as benign as a fluffy bunny. So my point is that people who don't understand what C is controlling should not use it. C is great the way it is.|
1 to 1 of 1
Why C sucks...
2010-01-30 14:34:39 Iskrahelk [View]
1 to 1 of 1