News for hackers. Stuff that matters.
Re:91% of ML Models Degrade over Time by piva00 on Friday April 14, 2023 @04:17AM (#35566873)
Boring code is not bad code, overly verbose might be but descriptive verbose code is pretty damn good when you are maintaining something for 5-10 years.
Re:91% of ML Models Degrade over Time by saurik on Friday April 14, 2023 @04:21AM (#35566905)
In my experience maintaining things for even longer than that, if your code is verbose you are way more likely to make a mistake many years later because you don't remember all of the rules required to correctly edit or generate new code in the same form. You are much better off compressing that code using domain-specific abstractions that force all development to follow every mental model you ascribe to the code, even if it means you have to load more mental state and it takes you a bit longer to "back up to speed" in the code you haven't edited in a while, as it helps guarantee you actually load the correct state.
Re:91% of ML Models Degrade over Time by iudqnolq on Friday April 14, 2023 @09:36AM (#35569422)
It depends on the specifics. I think a correct AI should look at the relevant context and give code with matching verbosity.