r/C_Programming • • Feb 01 '26

Best ide to start coding C?

I tried following some youtube tutorials on downloading and setting it up through visual studio code and i always end up with a launch json error.

I gave up and i just want to start coding.

77 Upvotes

160 comments sorted by

View all comments

Show parent comment

0

u/shrodingersjere Feb 01 '26

Although I see the merit in your approach, I think it’s a bit like saying someone needs to know how to be a mechanic before they can drive a car. Most programmers today have never coded in assembly, but are still quite competent programmers.

Clearly, your order, if OP could get past the steep learning curve, would result in them learning to program in C quite well. However, if they are new to programming, I think it’s a bit extreme. I think it would be better to learn the basics of logic and data structures, and then get back into this after they’ve experienced a taste of what you can do with programming.

Now, I’ve never written in assembly, and most of my work has been in C++, Python, and C# (I’m a modeling and simulation engineer), but I’ve been wanting to transition more into embedded work. I’ve never written assembly, but obviously I’d need to get comfortable with it to become a competent embedded dev. I like your idea of writing my own C compiler, and I think I will go and give it a shot.

2

u/real_taylodl Feb 01 '26

If you're new to programming then you shouldn't be learning C. C is for a very specific kind of programming that few people these days have the need for. It's not like the old days when you had to learn C just to get any kind of performance out of machines that were running under 10 MHz (and some were running sub MHz!) If you're learning C today then you're telling me you want to get under the hood and learn how the engine runs. So...go for it! Get under the hood and learn how the engine runs! Get an ARM-based machine such as a Raspberry PI and go to town and have fun.