@thomasfuchs@hachyderm.io
Itβs always βAI is great for generating boilerplate codeβ and never βwhy do we even need boilerplate code, maybe programming is brokenβ
@david_chisnall@infosec.exchange
@thomasfuchs@hachyderm.io
It's also worth noting that boilerplate is technical debt. Any code that is copied between large numbers of consumers of an API mostly unmodified imposes a bunch of undocumented constraints on how that API can evolve.
If you factor out the boilerplate, then you have to handle changes to the APIs in one place. If you duplicate it, you have to fix it everywhere.
A tool that allows you to write boilerplate more quickly is removing the incentive to avoid boilerplate and so is encouraging code that is hard to maintain.