The issue is not that "learning about how memory works" is bad advice. The issue is the manner in which you are supposed to learn.
Does learning about pointers, malloc, and free teach you about memory management?
Sure.
Is what you learned immediately transferable to a GC type language?
No, the rules are different and you have to learn some new things.
If you had no desire to learn C at the moment, could you just learn how memory works within what you are using?
Yes.
Will that be easier and quicker than having (and this is the key bad thing about the advice, that you have to learn C first or you won't know what you are doing and will be a bad programmer) to learn C first?
Yes.
Hi, I'm a developer with three year of experience. I am trained in Java/J2e but I am mostly a Javascript/Typescript lover <3 currently working in GIS, with ReactJS and LeafletJS
ok yes I understand your point.
A good advice would be to have a good understanding about the basics, including memory.
But does that mean that you must learn C ? No, indeed.
I guess when you start programming (in general) without knowing which language to use first, C could be considered a good one. But well I started with Java and many started with Python... so the point is more about the concepts and basics than the language itself
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The issue is not that "learning about how memory works" is bad advice. The issue is the manner in which you are supposed to learn.
Does learning about pointers, malloc, and free teach you about memory management?
Sure.
Is what you learned immediately transferable to a GC type language?
No, the rules are different and you have to learn some new things.
If you had no desire to learn C at the moment, could you just learn how memory works within what you are using?
Yes.
Will that be easier and quicker than having (and this is the key bad thing about the advice, that you have to learn C first or you won't know what you are doing and will be a bad programmer) to learn C first?
Yes.
ok yes I understand your point.
A good advice would be to have a good understanding about the basics, including memory.
But does that mean that you must learn C ? No, indeed.
I guess when you start programming (in general) without knowing which language to use first, C could be considered a good one. But well I started with Java and many started with Python... so the point is more about the concepts and basics than the language itself