I will say that using LLM even for boilerplate code is bad. I mean, if you write it yourself, you will try to keep it all compact for your own sake. Both for writing and future editing/expanding.
Generating boilerplate code may lead to just much more code because you don't write it yourself so you don't care if it's too verbose.
This can get out of hands quickly.
Prototyping/research I agree it's all fair game. But boilerplate for prod code is risky.
I agree partially. You are absolutely right with the risk of code getting out of hand but that's something I actvely keep an eye on.
My LLM useage are mostly prompts like "Generate method x with signature y and return type z. The method shall iterate through the input and do whatever. Use the following libraries: ...". If the method is more complex, I describe the desired logic more detailled.
Works good for me most of the time.
For prototyping I just explain the desired result and hope for the best, lol.
It's your opinion I can respect that. Time will tell which way is better. I just bet on a horse without generating any code for my projects, and only use it as search/explainer that I can verify.
16
u/non-existing-person Sep 12 '26
I will say that using LLM even for boilerplate code is bad. I mean, if you write it yourself, you will try to keep it all compact for your own sake. Both for writing and future editing/expanding.
Generating boilerplate code may lead to just much more code because you don't write it yourself so you don't care if it's too verbose.
This can get out of hands quickly.
Prototyping/research I agree it's all fair game. But boilerplate for prod code is risky.