Way back in college, I got 1 point taken off a programming assignment in CS 101 (the language was Pascal). Why 1 off? Because (and I don't remember Pascal's syntax exactly so this may not be precisely correct) I had written this:

while not eof(hFile)

My professor told me that I should have written a function called MoreData() that would return true if not end of file and false otherwise. If I had 'truly modular code' I would have then written

while MoreData(hFile)

I swear that is a true story.