Re:Ask HN: Is it still relevant to learn C in 2024?
by kjellsbells on Saturday August 17, 2024 @09:59AM
(#41274643)
You might not need to ever use C for C programming, but its such an influential language that its worth learning for its cultural impact alone. Eg, any discussion about pointers, compilers, memory management, string handling, or systems programming is going to take place in the intellectual framework grounded by C.
C is to modern languages like Roman civilization is to Western culture today. An essential underpinning of how we think about things, admirable in many ways, but with horrible downsides, and not to be emulated. There are still some Latin speakers, but they are confined to a niche where nothing else but Latin feels right for them. But everyone else has moved on.
Re:Ask HN: Is it still relevant to learn C in 2024?
by rspivak on Saturday August 17, 2024 @09:47AM
(#41274573)
I'm curious about the community's thoughts on whether learning C is still valuable in today's world. Here are some of my personal points in favor of learning C:
1. there's a lot of literature on the fundamentals that use C/C++ in examples, and the Linux kernel is still primarily written in C
2. as Dennis Ritchie said, "C is quirky, flawed, and an enormous success." I believe that's the Lindy effect at work
3. learning C can open up a deeper understanding of how things work
Re:Ask HN: Is it still relevant to learn C in 2024?
by beardyw on Saturday August 17, 2024 @10:32AM
(#41274877)
Because like it or not every program ends up as machine code. C is the closest you can get to that without being machine specific. C is like cooking with only basic raw ingredients. Everything else is like out of a packet.
Re:Ask HN: Is it still relevant to learn C in 2024?
by trealira on Saturday August 17, 2024 @12:34PM
(#41275703)
C is not the smallest or simplest language, but it's pretty small and simple. What's hard is writing large software in it (compared to other languages). It doesn't take that long to learn it, nor is it very difficult to learn, and there's no reason not to learn it, so you may as well go for it.
Re:Ask HN: Is it still relevant to learn C in 2024?
by Rochus on Saturday August 17, 2024 @09:38PM
(#41279483)
If you are an (embedded) system developer or want to contribute to e.g. the Python VM, then yes; if you are a web or mobile app developer, then probably not.
C is to modern languages like Roman civilization is to Western culture today. An essential underpinning of how we think about things, admirable in many ways, but with horrible downsides, and not to be emulated. There are still some Latin speakers, but they are confined to a niche where nothing else but Latin feels right for them. But everyone else has moved on.
1. there's a lot of literature on the fundamentals that use C/C++ in examples, and the Linux kernel is still primarily written in C
2. as Dennis Ritchie said, "C is quirky, flawed, and an enormous success." I believe that's the Lindy effect at work
3. learning C can open up a deeper understanding of how things work
Once you know C... You appreciate programming in any other language.
A C Programmer