Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

1. I write code in passes and fix things.

2. In most cases, things which never get fixed are good enough "for now"

3. The fixme comment generally means I maintain the flexibility of the planned design, without the complexity/implementation cost. I won't make changes which break a planned fixme.

4. The most common time to fix things is when I need that flexibility.

A good example is if I'm planning to make something modular and pluggable. The fixme means I never tie other code to the specific current implementation, even if there's only one. On the other hand, I don't build out the module loader until I actually need it. 90% of the benefit of modules for 10% of the cost.



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

Search: