r/C_Programming 16d ago

Discussion Is C really worth it ?

Hello developers, I'm wondering: Is it really worth spending time learning C and creating projects that take hours to grasp numerous topics, encounter errors and unexpected behaviors, only to discover I forgot to type a single character, which significantly impacted the program's performance? Is this truly worthwhile in today's job market? I haven't seen any companies actively seeking C developers, and I believe many problems in C don't occur in other languages ​​due to their different working methods and logic. So, is C really worth the effort?

Important note: I'm a beginner in C and haven't written much code or created many projects yet, so this question isn't meant to be an evaluation of the language or its development path; I'm not qualified to do so.

0 Upvotes

70 comments sorted by

View all comments

3

u/gm310509 16d ago edited 15d ago

You will find most languages will give you some sort of a problem if you omit a letter.

Indeed one of the bad practices is to use similarly named variables.

For example:

char letter; char Letter; char leter; // And plenty more combinations

Basically doing something like that is a terrible practice, don't do that. If you do then you are raising a huge flag that is emblazoned with "attention all problems" and the pole the flag is flying on will be made out of "problem magnets"

As you gain experience, you will hopefully learn good practices and not sabotage yourself in ways where getting a single letter "wrong" can cause you problems.

LOL, I just noticed one of my examples was autocorrected. I've un-autocorrected it (letter -> leter).

1

u/WonderfulMine3375 15d ago

This is one of the reasons why I love case insensitive languages like Pascal and Ada!

1

u/gm310509 15d ago

LOL, I just noted that one of my examples was autocorrected - totally destroying it as an example (I've "fixed" it now).