Click here to Skip to main content
15,890,282 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: Prepare to have your mind blown! Pin
obermd31-Jul-20 3:34
obermd31-Jul-20 3:34 
GeneralThe Big Red Balls are back!... Pin
5teveH31-Jul-20 0:54
5teveH31-Jul-20 0:54 
GeneralRe: The Big Red Balls are back!... Pin
ZurdoDev31-Jul-20 1:27
professionalZurdoDev31-Jul-20 1:27 
GeneralRe: The Big Red Balls are back!... Pin
5teveH31-Jul-20 3:41
5teveH31-Jul-20 3:41 
GeneralRe: The Big Red Balls are back!... Pin
Richard MacCutchan31-Jul-20 1:32
mveRichard MacCutchan31-Jul-20 1:32 
GeneralRe: The Big Red Balls are back!... Pin
5teveH31-Jul-20 3:09
5teveH31-Jul-20 3:09 
QuestionLess / Neater code vs Readability / Understanding Pin
Jacquers30-Jul-20 23:53
Jacquers30-Jul-20 23:53 
AnswerRe: Less / Neater code vs Readability / Understanding Pin
F-ES Sitecore31-Jul-20 0:02
professionalF-ES Sitecore31-Jul-20 0:02 
I assume you can still use the "old" way also. That syntax is fine if, like the example, you code would otherwise be;

C#
private void MyFunction()
{
    using (var x = new Widget())
    {
        // code
    }
}


as you are reducing the inner nest, but for all other uses (pun not intended) the existing way should defo be used. What you'll see though is people using the new way regardless because if it is "new" it must be "better" Roll eyes | :rolleyes: "Why do you want to change this for loop to a linq statement again....?"
AnswerRe: Less / Neater code vs Readability / Understanding Pin
Nelek31-Jul-20 0:08
protectorNelek31-Jul-20 0:08 
GeneralRe: Less / Neater code vs Readability / Understanding Pin
Jacquers31-Jul-20 0:13
Jacquers31-Jul-20 0:13 
GeneralRe: Less / Neater code vs Readability / Understanding Pin
Nelek31-Jul-20 0:31
protectorNelek31-Jul-20 0:31 
AnswerRe: Less / Neater code vs Readability / Understanding Pin
Daniel Pfeffer31-Jul-20 0:10
professionalDaniel Pfeffer31-Jul-20 0:10 
GeneralRe: Less / Neater code vs Readability / Understanding Pin
Jacquers31-Jul-20 0:14
Jacquers31-Jul-20 0:14 
AnswerRe: Less / Neater code vs Readability / Understanding Pin
OriginalGriff31-Jul-20 0:22
mveOriginalGriff31-Jul-20 0:22 
GeneralRe: Less / Neater code vs Readability / Understanding Pin
Jacquers31-Jul-20 0:24
Jacquers31-Jul-20 0:24 
GeneralRe: Less / Neater code vs Readability / Understanding Pin
dandy7231-Jul-20 2:59
dandy7231-Jul-20 2:59 
AnswerRe: Less / Neater code vs Readability / Understanding Pin
Marc Clifton31-Jul-20 1:22
mvaMarc Clifton31-Jul-20 1:22 
GeneralRe: Less / Neater code vs Readability / Understanding Pin
Jacquers31-Jul-20 1:57
Jacquers31-Jul-20 1:57 
GeneralRe: Less / Neater code vs Readability / Understanding Pin
Marc Clifton31-Jul-20 2:26
mvaMarc Clifton31-Jul-20 2:26 
AnswerRe: Less / Neater code vs Readability / Understanding PinPopular
ZurdoDev31-Jul-20 1:29
professionalZurdoDev31-Jul-20 1:29 
GeneralRe: Less / Neater code vs Readability / Understanding Pin
User 1106097931-Jul-20 1:41
User 1106097931-Jul-20 1:41 
GeneralRe: Less / Neater code vs Readability / Understanding Pin
Jacquers31-Jul-20 1:58
Jacquers31-Jul-20 1:58 
GeneralRe: Less / Neater code vs Readability / Understanding Pin
User 1106097931-Jul-20 2:42
User 1106097931-Jul-20 2:42 
GeneralRe: Less / Neater code vs Readability / Understanding Pin
obermd31-Jul-20 3:38
obermd31-Jul-20 3:38 
GeneralRe: Less / Neater code vs Readability / Understanding Pin
dandy7231-Jul-20 3:43
dandy7231-Jul-20 3:43 

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.