3 ms·
Code generation does serve its purpose, but I would argue that it's only a bit more effort to make it readable and with code-generated comments as well. I once
by mickeyp 12y ago
Code generation does serve its purpose, but I would argue that it's only a bit more effort to make it readable and with code-generated comments as well.
I once had to build an Oracle PL/SQL interface for a rather complicated integration project between two old systems and the business requirements for what had to go where changed daily.
In the end I opted to code generate the PL/SQL interface and supporting code from a spreadsheet that the business always kept up-to-date with the latest changes to the requirements. Ultimately they could change things to their hearts' content and I would only have to press a button to re-generate it all.
- brimstedt 12y agoRemember a story like that on thedailywtf.. Was it yours?:)