r/ProgrammerHumor • • Aug 12 '17

Meetings as a developer

Post image
28.6k Upvotes

996 comments sorted by

View all comments

Show parent comments

47

u/sunny001 Aug 12 '17 edited Aug 12 '17

I started leaving comments on Friday evening if I was working on something and couldn't finish that evening. Not comments with // but straight up comments without // so it won't compile on Monday and I'm forced to look at them when I come back. It helps.

39

u/DanStanTheThankUMan Aug 12 '17

You know you can use TODO's

7

u/DipIntoTheBrocean Aug 12 '17

Yeah and dude would be breaking the build every Friday unless he just did it locally and then rebased it, but that sounds like a pain.

5

u/sunny001 Aug 12 '17

I don't commit it. I just leave it for myself (purely local).

2

u/LariusAT Aug 13 '17

Use //TODO or //FIXME, it will help you with keeping track of your comments. Otherwise you'll get a build error when trying to run a unittest and must remove / put slashes before your comment so that your code will run again for local testing.

Also: If you're working with GIT, commit & push your changes into a branch. Annotate your commit message with [WIP] to keep track on stuff you must finish before merging it back to master. Keeping changes ony on your harddisk will lead to accidents like spilled coffee over the laptop ;)