Click here to Skip to main content
14,382,360 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.
 
RantThis might be why i don't work in software anymore Pin
honey the codewitch9-Sep-19 2:50
memberhoney the codewitch9-Sep-19 2:50 
GeneralRe: This might be why i don't work in software anymore Pin
Richard MacCutchan9-Sep-19 2:57
protectorRichard MacCutchan9-Sep-19 2:57 
GeneralRe: This might be why i don't work in software anymore Pin
honey the codewitch9-Sep-19 2:58
memberhoney the codewitch9-Sep-19 2:58 
GeneralRe: This might be why i don't work in software anymore Pin
Sander Rossel9-Sep-19 3:02
professionalSander Rossel9-Sep-19 3:02 
GeneralRe: This might be why i don't work in software anymore Pin
honey the codewitch9-Sep-19 3:03
memberhoney the codewitch9-Sep-19 3:03 
GeneralRe: This might be why i don't work in software anymore Pin
Sander Rossel9-Sep-19 3:03
professionalSander Rossel9-Sep-19 3:03 
GeneralRe: This might be why i don't work in software anymore Pin
honey the codewitch9-Sep-19 3:04
memberhoney the codewitch9-Sep-19 3:04 
GeneralRe: This might be why i don't work in software anymore Pin
Sander Rossel9-Sep-19 3:15
professionalSander Rossel9-Sep-19 3:15 
// Wrong.
string result = null;
// ...
if (something)
{
    variable.GetString();
}
return result;

// Also wrong.
string result = null;
// ...
if (something) return variable.GetString();
return result;

// Still wrong.
string result = null;
// ...
if (something)
    return variable.GetString();
return result;

// Less wrong, but wrong.
string result = null;
// ...
if (something)
{
    return variable.GetString();
}
return result;

// The one and only true path!
string result = null;
// ...
if (something)
{
    result = variable.GetString();
}
return result;
As you see, you can either agree with me or be wrong Big Grin | :-D

GeneralRe: This might be why i don't work in software anymore Pin
honey the codewitch9-Sep-19 3:16
memberhoney the codewitch9-Sep-19 3:16 
GeneralRe: This might be why i don't work in software anymore Pin
Sander Rossel9-Sep-19 3:22
professionalSander Rossel9-Sep-19 3:22 
GeneralRe: This might be why i don't work in software anymore Pin
honey the codewitch9-Sep-19 3:23
memberhoney the codewitch9-Sep-19 3:23 
GeneralRe: This might be why i don't work in software anymore Pin
Nelek9-Sep-19 11:10
protectorNelek9-Sep-19 11:10 
GeneralRe: This might be why i don't work in software anymore Pin
Sander Rossel9-Sep-19 11:24
professionalSander Rossel9-Sep-19 11:24 
GeneralRe: This might be why i don't work in software anymore Pin
Nelek9-Sep-19 21:17
protectorNelek9-Sep-19 21:17 
GeneralRe: This might be why i don't work in software anymore Pin
honey the codewitch9-Sep-19 3:21
memberhoney the codewitch9-Sep-19 3:21 
GeneralRe: This might be why i don't work in software anymore Pin
Sander Rossel9-Sep-19 3:26
professionalSander Rossel9-Sep-19 3:26 
GeneralRe: This might be why i don't work in software anymore Pin
honey the codewitch9-Sep-19 3:29
memberhoney the codewitch9-Sep-19 3:29 
GeneralRe: This might be why i don't work in software anymore Pin
Sander Rossel9-Sep-19 3:47
professionalSander Rossel9-Sep-19 3:47 
GeneralRe: This might be why i don't work in software anymore Pin
honey the codewitch9-Sep-19 3:50
memberhoney the codewitch9-Sep-19 3:50 
GeneralRe: This might be why i don't work in software anymore Pin
dandy729-Sep-19 8:20
memberdandy729-Sep-19 8:20 
GeneralRe: This might be why i don't work in software anymore Pin
honey the codewitch9-Sep-19 10:01
memberhoney the codewitch9-Sep-19 10:01 
GeneralRe: This might be why i don't work in software anymore Pin
Jörgen Andersson9-Sep-19 9:49
protectorJörgen Andersson9-Sep-19 9:49 
GeneralRe: This might be why i don't work in software anymore Pin
honey the codewitch9-Sep-19 10:00
memberhoney the codewitch9-Sep-19 10:00 
GeneralRe: This might be why i don't work in software anymore Pin
BillWoodruff9-Sep-19 3:29
mveBillWoodruff9-Sep-19 3:29 
GeneralRe: This might be why i don't work in software anymore Pin
Sander Rossel9-Sep-19 3:48
professionalSander Rossel9-Sep-19 3:48 

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.