It is hard to imagine how different software development was even a few decades ago. We used to have to write our applications manually. Heck, even copy and paste was complicated. Luckily, code generation is becoming common no matter which language you use. This may be in the form of direct generation of code or tools that make the process easier. However, that is not always the best way to get the job done.
Frameworks and Generators
The biggest bang for your buck comes from generators and frameworks. These tools can get your application up and running in minutes. Even when that is not the case, the time saved by using these tools can add up to weeks and even months. There is a cost in using these as you need to embrace their methodology. However, the value you get out of it can often make that trade worthwhile.
Snippets and Less Invasive Helpers
For those of us that do not like to embrace the methods of others, we have other options. There are code snippets (ours and from others) and other ways to find solutions to smaller problems than a framework or generator handles. The good news is that these also require less buy-in to the creators’ methodology. These options allow you to “dip a toe in” for code written by others.
A Learning Tool
This episode also looks into how these “cheat” tools can be a way to help you learn. These tools are built to do things the “right way” and often include some best practices as well. Do not underestimate the value of such things when you are ramping up to a new platform or environment.