So why use it?
Given the disadvantages of C, why are we learning it?
-
Because C is so old, there are many, many software libraries which
use it -- particularly libraries for scientific and engineering
processes. Learning C will enable you to use and understand this
vast resource.
-
Due to its minimalist roots, C produces very small executables.
This doesn't matter for desktop applications, but it is absolutely
vital for writing software for "embedded systems" such as remote
control devices and fuel injection systems.
-
C forces the programmer to think about what's happening on the
hardware level. For most programmers, this is a disadvantage, but
as electrical engineers, this turns into a pedagogical advantage.