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

I would add one more class of comments that would sit at the bottom of the hierarchy: TODOs. When I'm sketching out functions, I typically outline what should be done with within the context of the function, then fill in the implementation details later. This often leads to stuff like this:

  // Replace with a link to the core
  AddStartupShortcut("Shell.lnk", Path.Combine(INSTALL_PATH, "foo.exe"));

  // Update device time:
  _log.Information("Updating device time...");
  SetDeviceTime();
I always intend on cleaning these up, but often never do.


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

Search: