Re:Repeating Yourself Thrice Doesn’t Turn You into a 3x Deve...
by dgb23 on Sunday July 30, 2023 @01:46PM
(#36933889)
Yes it’s easy to go overboard with it. I don’t have a clear recipe for which parts it makes sense, except that it emerges from hand written code.
Re:Repeating Yourself Thrice Doesn’t Turn You into a 3x Deve...
by deterministic on Monday July 31, 2023 @12:58AM
(#36938959)
There is an art to writing good code generators. Bad code generators are really really bad. Good code generators are absolutely awesome! I have saved thousands of hours using my own code generators. But I have also seen very bad code generators in the wild that I wouldn’t recommend using.
A large code base that was auto-generated and then subtly modified in some places is hard to refactor, and if you need to change the signature of a function that is used thousands of time across the generated code, you are in for a long ride.