DEV Community

Discussion on: Why am I finding C so difficult?

Collapse
 
efpage profile image
Eckehard

C was created 50 years ago, so you shouldn't be surprised that things are not that convenient.

And mastering the language is not the only problem you will have to deal with. You will find that C (or C++) itself is missing many tools that are integrated in other languages. If you want to do more than print some numbers to the console, you will need to use some external libraries or API´s. This can be very confusing, if you just started to learn the language itself, as some API´s may introduce thousands of entry points and some very special new concepts.

Finally you have to be clear that C code runs very close to the bare metal. It is virtually impossible to write any C code, that is not bound to an operation system. So, your programs will be developed for windows and run on windows only. But not on linux, Android or MacOs. That is a serious limitation with growing impact today. For me, that was a reason to look for more portable solutions like Javascript.

Does C have any "educative" qualities? Like learning latin in school? I don´t thik so. Every language has it´s pro´s and con´s, but there are many languages out there, that do not carry the load of an excessive long history.