Hacker News new | ask | show | jobs
by tonyedgecombe 23 days ago
To be fair to your colleague (and the LLM) making things generic too early is a bit of an anti-pattern as well.
1 comments

But that's exactly the problem. The judgement call on what should be made generic from the get-go vs what making generic early on is too over-engineering is something that you would expect an engineer (or a sufficiently advanced AI I guess) to consider.

Something like an alert should be all the way on the "should be generic from the get-go" side of that scale. There is no scenario where we only need one alert for a single metric. Some other scenarios would be an anti-pattern as you said. The judgement call here is important.