- Feature Articles
-
CodeSOD
- Most Recent Articles
- Vintage 2013
- Extremely One Line
- An Odd Sort
- I Exist
- Asynchronous Directories
- Heating Up
- The Big Family
- Lock 'Em Dead
- Error'd
-
Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Frist things frist ... we now leave room by reducing room by 16 characters? Or pixels? Is this what "leaving" room means? You remove room?
Admin
I suspect the
getCcolumnSizereturns how many characters or pixels wide the UI space is. They computemaxLenas that minus 16 units.Then on some subsequent line we don't see, they trim the presentation of whatever data value to that length, thereby leaving 16 units of room before or after to decorate the value with whatever annotations or other insanity they desire.
Admin
The comment does, at least, seem to be getting ready to explain why we call that function in that way.
And it might be complete, in a slightly British(1), and definitely idiosyncratic, way. Previous comments talk about what the thing that needs room is, with this comment saying the equivalent of "leave some room for [[that stuff I just talked about.]]" (That is, the object of the preposition is completely implied.)
But it would have been better to finish the statement, and with something more direct and specific than "that stuff I just talked about".
(1) The French sometimes say (in French, natch) something very similar.
Admin
maybe the comment got cut short because he left the room?
Admin
Leave some room for the gabagool! Ohhhh!
Admin
Obiously, we have to make room for daddy: https://www.youtube.com/playlist?list=PLhhDyRPaIV-FHqt1gOA0MporHbygMKFOY
Admin
Leave some room for... "LeaveSomeRoomFor".
Admin
More than likely, they were writing the comment but got distracted by something else and just forgot to finish it.
I have done that before, but for some reason, I end up dealing with the file in a way that I see I forgot to complete it. If there was a big enough change and the comment was meant to be the last thing handled with this file, I can see why it may have slipped through the cracks during a comment.
Admin
But remember, there's always room for pie.
Admin
Leave a comment about
Admin
Save room for Jello?
Admin
About those sentence fragments
Admin
"Here may be found the last words of Joseph of Arimathea. He who is valiant and pure of spirit should leave some room for Aaarrrrggh..."
"What?"
"Leave some room for Aaarrrrggh."
"What is that?"
"He must have died while typing."
"Oh, come on!"
"Well, that's what it says."
Admin
"Leave some room for"... the rest of this comment
Admin
Maybe some kind of UID? :D
Admin
They accidentally a word
Admin
Maybe he was using speech-to-text?
Admin
Amazing that no one else has yet posted about the magic number antipattern
Admin
When its my time to go, I shall not go out with a whimper. Nor shall I sink silently into the night.
I shall not die as he whose words were unfinished. Not with a pathetic "Ah" or "oh" or "...".
No, I shall go out with an exclamation point! That all may look upon my words and remember.
I have a script for that.
Admin
The comment was obviously 16 more characters originally. Thus the -16 calculation.
Admin
Some people never finish their
Admin
...sandwiches!