Do built in garbage collectors produce lazy developers? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Do built in garbage collectors produce lazy developers?

Or does it help programmers to focus on more important ideas?

5th Aug 2019, 12:29 AM
Sonic
Sonic - avatar
4 Answers
+ 11
Sonic I quite often jokingly say, "I created some program or library or reusable code because I'm lazy." What I'm really saying is I favor efficiency, maintainability, extendability, productivity, readability, agility, deliverability speed, etc over performance, troubleshooting memory leaks and other hard to reproduce, nuanced issues, and verbosity in code. This is the case 99% of the time. C++ would still be utilized the rest of the time when performance and being closer to the hardware are the primary concern. Ultimately, garbage collectors don't make developers lazy. It simply frees them up to be more productive with developing features rather than explicitly managing memory 100% of the time.
5th Aug 2019, 7:42 PM
David Carroll
David Carroll - avatar
+ 10
It depends on how you define "lazy"
5th Aug 2019, 3:55 AM
Gordon
Gordon - avatar
+ 4
It's a great question, don't know if I have the answer. However, I can tell you with languages like Python, people like me can produce scripts to help solve business related issues and automate tasks within the public and private cloud. In my work, leaders are constantly changing scope, so Python is great to produce working code or demonstrate the possibility of automation. Also, it allows me to remain agile when leadership decides to change task or trash projects because it does allow me to focus on the objective in order to produce results. I hope that makes sense 😁
5th Aug 2019, 1:21 AM
Steven M
Steven M - avatar
+ 2
Does the possibility to define functions produce lazy programmers?
5th Aug 2019, 5:41 PM
HonFu
HonFu - avatar