Ask HN: How do you balance between creating flexible systems and YAGNI?
I feel this is a constant argument I get into on code reviewsSenior devs will give me feedback around “can we make this more generic/flexible/extensible in case we need to do X in the future”But I lean more towards YAGNII would rather keep it simple/dumb/readable until we actually need the extra functionality, then refactor at that pointBut I admit it’s hard to find a balance