4 ms·
You can’t design something by trying to anticipate all future changes. things will change and break. In my personal design sense, I have found keeping away gen
by groundzeros2015 11mo ago
You can’t design something by trying to anticipate all future changes. things will change and break.
In my personal design sense, I have found keeping away generality actually helps my code last longer (based on more concrete ideas) and easier to change when those days come.
- dpark 11mo agoIn my experience, virtually every time I bake concrete data into identifiers I end up regretting it. This isn’t a case of trying to predict all possible future changes. It’s a case of trying to not repeat the exact same mistake again.
- groundzeros2015 11mo agoI don’t disagree with that, I’m disagreeing with this comment that we can’t make protocol or data decisions that might change.
- dpark 11mo agoI misunderstood then. I interpreted your comment to say that you eschew generalization (e.g. uuids) in favor of concrete data (e.g. names, email addresses) for ids in your designs.