For a lot of programming tasks, HAVING to think about memory is a disservice.
That's part of the reason why Python, go, Ruby, etc. are so popular.
There is no one right answer, it's very dependent on what's being built and where the ROI for the programming effort comes from.
For some tasks, sure.
But you still have to think about memory in those languages.