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

It's a skip. Most are fine even if they never get done. What's not fine is when code is not fully functioning and we assume it is.

My favorite TODO was something like class EncryptedSharedPreferences with a "TODO: encrypt this". It was written by someone who left before I joined (I never would have approved it lol). But it made it clear that this code was indeed, unencrypted, instead of having to figure out whether it was encrypted by some other module or worrying that we'd encrypt it twice.



Surely it's the data that needed to be encrypted?


No, the comment.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: