Click here to Skip to main content
15,885,954 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Semicolon at the end of a comment line. Pin
honey the codewitch12-Apr-23 16:06
mvahoney the codewitch12-Apr-23 16:06 
JokeRe: Semicolon at the end of a comment line. Pin
englebart12-Apr-23 17:02
professionalenglebart12-Apr-23 17:02 
GeneralRe: Semicolon at the end of a comment line. Pin
Wizard of Sleeves12-Apr-23 21:38
Wizard of Sleeves12-Apr-23 21:38 
GeneralRe: Semicolon at the end of a comment line. Pin
honey the codewitch12-Apr-23 23:37
mvahoney the codewitch12-Apr-23 23:37 
GeneralRe: Semicolon at the end of a comment line. Pin
JohnDG5213-Apr-23 2:42
JohnDG5213-Apr-23 2:42 
GeneralMessage Closed Pin
12-Apr-23 6:29
professionalDrWalter PE12-Apr-23 6:29 
GeneralRe: Semicolon at the end of a comment line. Pin
Peter Adam13-Apr-23 6:05
professionalPeter Adam13-Apr-23 6:05 
GeneralRe: Semicolon at the end of a comment line. Pin
dandy7213-Apr-23 7:00
dandy7213-Apr-23 7:00 
Single Step Debugger wrote:
Better than a semicolon at the end of an "if" statement.


That's a fun one. Back in my college days, a fellow student (much older than the rest of us, I think he decided to go back to college in his 40s) had the habit of leaving his system logged in, with his editor running...so whenever he took a break to (typically) go pick something up at the cafeteria, we'd do things like adding a bunch of spaces after a for loop and then a semi-colon (so it's off-screen and not visible), so his code read:
for ( int i = 0; i < someLimit; i++ )               ; <-- not visible without scrolling horizontally
{
   // this only ran once no matter what
}

We did it many times, but he never learned to lock his workstation...fool me once...

Poor guy. He was already struggling, and we made him waste a lot of his time on things like this...

Gaetan, wherever you are, I hope you still had a successful and rewarding career... Rose | [Rose]
GeneralRe: Semicolon at the end of a comment line. Pin
Single Step Debugger13-Apr-23 7:15
Single Step Debugger13-Apr-23 7:15 
GeneralRe: Semicolon at the end of a comment line. Pin
dandy7214-Apr-23 3:57
dandy7214-Apr-23 3:57 
GeneralRe: Semicolon at the end of a comment line. Pin
trønderen13-Apr-23 8:02
trønderen13-Apr-23 8:02 
GeneralRe: Semicolon at the end of a comment line. Pin
Single Step Debugger17-Apr-23 3:10
Single Step Debugger17-Apr-23 3:10 
GeneralRe: Semicolon at the end of a comment line. Pin
trønderen17-Apr-23 6:45
trønderen17-Apr-23 6:45 
GeneralRe: Semicolon at the end of a comment line. Pin
Single Step Debugger17-Apr-23 7:18
Single Step Debugger17-Apr-23 7:18 
GeneralRe: Semicolon at the end of a comment line. Pin
trønderen17-Apr-23 8:54
trønderen17-Apr-23 8:54 
GeneralRe: Semicolon at the end of a comment line. Pin
Alister Morton13-Apr-23 22:45
Alister Morton13-Apr-23 22:45 
GeneralRe: Semicolon at the end of a comment line. Pin
WPerkins13-Apr-23 2:50
WPerkins13-Apr-23 2:50 
GeneralHello, has Windows under gone a change... Pin
glennPattonWork311-Apr-23 23:13
professionalglennPattonWork311-Apr-23 23:13 
GeneralRe: Hello, has Windows under gone a change... Pin
RainHat12-Apr-23 1:23
RainHat12-Apr-23 1:23 
GeneralRe: Hello, has Windows under gone a change... Pin
Richard MacCutchan12-Apr-23 1:23
mveRichard MacCutchan12-Apr-23 1:23 
GeneralRe: Hello, has Windows under gone a change... Pin
glennPattonWork312-Apr-23 2:12
professionalglennPattonWork312-Apr-23 2:12 
GeneralRe: Hello, has Windows under gone a change... Pin
Richard MacCutchan12-Apr-23 2:34
mveRichard MacCutchan12-Apr-23 2:34 
GeneralRe: Hello, has Windows under gone a change... Pin
DerekT-P12-Apr-23 5:51
professionalDerekT-P12-Apr-23 5:51 
GeneralRe: Hello, has Windows under gone a change... Pin
Richard MacCutchan12-Apr-23 5:55
mveRichard MacCutchan12-Apr-23 5:55 
GeneralRe: Hello, has Windows under gone a change... Pin
DerekT-P12-Apr-23 6:32
professionalDerekT-P12-Apr-23 6:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.