An interesting question. Computer hardware is evolving not in years now but in months. Shortage of storage space is a problem in the past, and RAM memory is getting cheaper and cheaper - Memory Prices (1957-2016). A modern mobile phone is more powerful than a computer from the early 2000s.
Looking back, in the early years of programming, where the tools and languages have been far less than now and computers had 16 kB ~ 256 kB memory, programmers didn't have the luxury of using plentiful of resources.
Of particular note, yes, we can say that programmers are lazier than before. We produce code, that would have been problematic 15-20 years ago while wasting so many resources. Take the web developers for example. They work in an isolated environment (the browser) and don't care or don't know about the cost of their code, because "hey, my client is using a 2015 MacBook Pro with 2.9GHz Processor, 256GB Storage and 8GB of RAM, he should be OK". If that is right or not, I leave to you to decide. :)