Click here to Skip to main content
15,881,938 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: Oh boy. I've given myself a challenge now. Pin
k505416-Feb-22 5:12
mvek505416-Feb-22 5:12 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
kmoorevs16-Feb-22 8:05
kmoorevs16-Feb-22 8:05 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
Gerry Schmitz16-Feb-22 8:22
mveGerry Schmitz16-Feb-22 8:22 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
trønderen16-Feb-22 9:18
trønderen16-Feb-22 9:18 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
charles henington16-Feb-22 11:17
charles henington16-Feb-22 11:17 
JokeRe: Oh boy. I've given myself a challenge now. Pin
Memtha16-Feb-22 15:45
Memtha16-Feb-22 15:45 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
Mycroft Holmes16-Feb-22 11:36
professionalMycroft Holmes16-Feb-22 11:36 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
FreedMalloc16-Feb-22 14:26
FreedMalloc16-Feb-22 14:26 
I was once told to write a short snippet in C++ with a couple bugs in it. One obvious and one less obvious to give as a coding test to prospective new hires. It took me hours. Plus, I never docked a candidate that "failed" the test in an interview. And thus hold interview tests in the highest disdain.

My suggestion: An if statement with 2 indented lines under the conditional but no enclosing code block delimiters (braces).

C++
if (x > y)
    x++;
    y++;

GeneralRe: Oh boy. I've given myself a challenge now. Pin
englebart16-Feb-22 14:52
professionalenglebart16-Feb-22 14:52 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
Memtha16-Feb-22 15:52
Memtha16-Feb-22 15:52 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
David O'Neil16-Feb-22 22:14
professionalDavid O'Neil16-Feb-22 22:14 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
Memtha17-Feb-22 5:23
Memtha17-Feb-22 5:23 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
trønderen17-Feb-22 6:40
trønderen17-Feb-22 6:40 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
Memtha17-Feb-22 6:53
Memtha17-Feb-22 6:53 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
David O'Neil16-Feb-22 22:22
professionalDavid O'Neil16-Feb-22 22:22 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
Richard Deeming17-Feb-22 2:08
mveRichard Deeming17-Feb-22 2:08 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
FreedMalloc17-Feb-22 5:25
FreedMalloc17-Feb-22 5:25 
GeneralCCC 2022-02-16 Pin
Peter_in_278015-Feb-22 22:03
professionalPeter_in_278015-Feb-22 22:03 
GeneralRe: CCC 2022-02-16 Pin
OriginalGriff15-Feb-22 22:05
mveOriginalGriff15-Feb-22 22:05 
GeneralRe: CCC 2022-02-16 Pin
pkfox15-Feb-22 23:19
professionalpkfox15-Feb-22 23:19 
GeneralRe: CCC 2022-02-16 Pin
OriginalGriff15-Feb-22 23:25
mveOriginalGriff15-Feb-22 23:25 
GeneralRe: CCC 2022-02-16 Pin
pkfox16-Feb-22 3:38
professionalpkfox16-Feb-22 3:38 
GeneralRe: CCC 2022-02-16 Pin
Greg Utas16-Feb-22 1:00
professionalGreg Utas16-Feb-22 1:00 
GeneralRe: CCC 2022-02-16 - WINNER! Pin
Peter_in_278016-Feb-22 1:09
professionalPeter_in_278016-Feb-22 1:09 
GeneralRe: CCC 2022-02-16 - WINNER! Pin
Greg Utas16-Feb-22 1:13
professionalGreg Utas16-Feb-22 1:13 

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.