0
Why do we learn C there are many other better languages than this & much shorter code can be written?
2 odpowiedzi
+ 2
C is quick because it is compiled and also rather 'raw', not a lot of overhead; you almost have to flip the bits by hand. ;-) *exaggeration*
So when performance is very important, you sacrifice the convenience of higher languages in order to gain speed.
0
Main reason is SPEED!!
Note that a lot of the other language are derived from C.
Some languages like Python(which is my favorite) even do implementations in C if speed is crucial.