Hacker News new | past | comments | ask | show | jobs | submit login

I've worked with people who would prefer a complex function to generate a list of properties from a data source over a much simpler hardcoded list, on the basis that if a new option is added its easier. They used this pattern for things like asset classes, which admittedly did change about once every 5 years. It made me sad.



Still peeved about times I was forced to do this, when any meaningful change would also necessitate a code change anyway.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: