Which programming language is first to learn? Why C programming ?
There are 4 things that make C a potential language for programming begginers .
- C is used to implement fundamental theories of Computer Science like Memory management (Primary,Secondary and Cache), Process Management (Process and Threads), Operating Systems (Kernel and System Software), Networks (L2 and L3 layers of Network Protocols) and I/O drivers are build using C language.
- C is a Middle level language which explains that it can posses both the features of high level languages in terms of functional programming, procedural programming, structures to encapsulate data as well as it can be used to program operating systems for computers and real time operating systems for micro controller based embedded systems and it will help automate industrial processes, creating robots, monitoring resources using sensors etc.
- C has few number of libraries, mostly you have to build data structures like Stack, Queue, Lists etc on your own which helps the learner to understand these fundemental concepts clearly and improve their analytical strength. Most other languages like Python and Java have external libraries which have builtin data structures and algorithms.
- C is fast, it has quick compile time and run time compared to all other languages. Due to its lack of garbage collector and prevention mechanism for memory leaks, the pause during garbage colletion is avoided (as we have to manualy write instructions to manage the allocated memory) which helps when using graphics based applications and games where quick response is needed to avoid latency in response of an operation. One of the reasons CUDA adopted C.
Visit My Personal Blog @ danyson.github.io