News for hackers. Stuff that matters.
Re:Learn C programming and the rest will come by jdashg on Friday January 10, 2020 @01:49AM (#22008876)
C (or something very like it) is effectively the core of my mental VM. It's an extremely useful mental abstraction even though all I write is C++, JS, Python, and GLSL.

Being able to estimate "what does this code compile into" is extremely powerful for understanding code, as well as exploring the possibility space of solutions. ("Is it even possible to express this?")

It's not an exact mapping to hardware, but it's such a useful level of abstraction to have on tap, even if I never want to write it directly.

Re:Learn C programming and the rest will come by kitd on Friday January 10, 2020 @02:10AM (#22008961)
Agreed. I spent 10 years writing C in the 90s but very little since. Even still, I find my understanding of eg Go is based on what is being allocated where, compared to colleagues from eg Java or JS, who have never dealt with that, and who focus on syntax and features.

One was raving about slices, which are a struct of ptr + length built into the syntax. Obvious with a C background.