News for hackers. Stuff that matters.
Re:AI Found a Bug in My Code by lmm on Thursday November 17, 2022 @04:47PM (#33646300)
A codebase is a living thing. Inlining a function or splitting it into multiple cases should always be an option, and boolean flags are generally a code smell. I don't see this as an argument against DRY; when the facts change, your code structure needs to change too, but that doesn't mean your original structure was wrong.

There are no comments on this comment yet.