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

Comments in configuration files are approximately equivalent to those "tooltip" things GUIs sometimes have. I think comments are a much better method though since GUIs often seem to be missing their equivalent and even when present, it's a pain in the ass to use.


I disagree. Comments in configuration files can serve (at least) two purposes:

- to explain what a setting does.

- to document why you chose a value for the setting.

Tooltips can do the former, but not the latter.


Yes, I am revering to point 2 of the GP.




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

Search: