this post was submitted on 31 Aug 2025
317 points (96.5% liked)
Programmer Humor
26109 readers
1423 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I want to learn rust and got the recommendation to learn C first.
That's a nice recommendation.
For a beginner without experience in using libraries, the additional requirements in Rust would feel unnecessary and frustrating.
If you take up Rust after learning programming using C (which won't require all that extra stuff and let you learn the basics easily), that would make it easier for you to appreciate the results of the extra work it makes you do.
C is a 100% valid language to spend your time on.
Probably a good idea. I decided to learn Rust after using Python for a couple years. I took a semester of C++ but barely remember anything. Maybe I should write a project in C and rewrite later in Rust. I personally only learn when I get inspiration to make a program, which means I learn on the spot. I don't think it is the best way to do things (if I knew the language better I may make better decisions), but it is the only way I can motivate myself to learn.
Everyone learns differently. Go with what works for you.
I tend to learn the same way,
C is useless nowadays (and has been for at least 20 years). Either learn Rust or C++.
Lol, what?
C is eternal brother.
This is such an incorrect take for real. C is far from useless and still used all over the place in all kinda of professional projects. And I'm talking new projects started this year, not just legacy maintenance.
The reason I got recommended to learn C first is so that you are getting used to handling memory by yourself. Then you switch to rust and since you are used to handling memory your rust code is usually better quality.
Another reason I want to learn C is because I regularly have to work with Arduinos.
I can't comment whether learning C first improves your rust, but it certainly makes you appreciate what the rust compiler does.
Also learning rust improved my C.
I think it's a fair strategy. If they know what happens if you do it wrong people suddenly complain less about rust's borrow checker. Whereas people who are only used to garbage collected language don't usually have the slightest clue why it works the way it does.
FWIW you can use C++ on Arduino.
Yeah, but I kinda dont want to learn/use C++
I don’t blame you. I have to use a professionally sometimes and I am not a fan. It’s an absolute behemoth of the language filled with warts and cruft.
Sometimes it is the best choice for a project, but I prefer languages with simple, orthogonal concepts.
it is good to learn C, even if you're never gonna touch it again. It teaches you what other languages abstract away.
I’m the tech lead on a three-year-old project that’s entirely in C. It is my full time job to write C89.