4 ms·
If you don’t mind, I’d like to ask you why you want lo learn C. I’m asking because I’d like to improve my C but I can’t decide between that and learning Rust.
by makz 4y ago
If you don’t mind, I’d like to ask you why you want lo learn C. I’m asking because I’d like to improve my C but I can’t decide between that and learning Rust.
- rramadass 4y agohttps://old.reddit.com/r/ProgrammerHumor/comments/5ur106/to_my_friends_who_are_just_learning_c/ddwg4s3/ https://old.reddit.com/r/ProgrammerHumor/comments/5ur106/to_...
- RunSet 4y agoOP: "How can I do x?" Top reply: "Why do you want to do x?" Thought I was on StackOverflow for a second.
- CodeSgt 4y agoWell I don't think they were asking in an adversarial way like you might find on SO. Seems as if they just wanted some insight into my decision making process and why I chose to do x over y so they can better make the decision themselves.
- CodeSgt 4y agoWhy not both? Being able to better understand and appreciate Rust is one of a couple factors motivating me to learn C. The others being gaining historical context when analyzing modern c-based languages, being able to effectively read from some of the greatest codebases in the world, and the desire to learn a language that's small enough to fit inside my head and can run anywhere.
- ccouzens 4y agoI've read but not written any c since learning rust. I've written some c years ago. I do feel that if I were to write more c now it would be better for me knowing rust and having a feel for designs that pass the borrow checker. Unhelpfully the only c book I've read was the k&r book. It seemed fine. Perhaps the question would be easier to answer if the reason for wanting to learn c was given (eg to contribute to existing c based project or to write embedded code)