Click here to Skip to main content
15,900,110 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: How do you decide which tyres you buy? Pin
Johnny J.27-Sep-16 6:01
professionalJohnny J.27-Sep-16 6:01 
GeneralRe: How do you decide which tyres you buy? Pin
CDP180227-Sep-16 7:03
CDP180227-Sep-16 7:03 
GeneralAnother C# syntax to wish for (or any C class language) Pin
kalberts27-Sep-16 0:35
kalberts27-Sep-16 0:35 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
dan!sh 27-Sep-16 0:47
professional dan!sh 27-Sep-16 0:47 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
kalberts27-Sep-16 0:56
kalberts27-Sep-16 0:56 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
OriginalGriff27-Sep-16 1:24
mveOriginalGriff27-Sep-16 1:24 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
kalberts27-Sep-16 3:01
kalberts27-Sep-16 3:01 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
PeejayAdams27-Sep-16 1:42
PeejayAdams27-Sep-16 1:42 
Member 7989122 wrote:
C class languages have some silly {}-requremnents!


They don't.

If anything C has too few by allowing unbracketed one-liners for loops and conditions.
C#
if (Whatever)
    DoSomething();

is both a little untidy and slightly dangerous as there's no really visible connection between action and condition. Stuff gets moved or removed and things start to go wrong.

For my money, the compiler should insist on:
C#
if (Whatever)
{
    DoSomething();
}

GeneralRe: Another C# syntax to wish for (or any C class language) Pin
OriginalGriff27-Sep-16 1:53
mveOriginalGriff27-Sep-16 1:53 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
PeejayAdams27-Sep-16 2:28
PeejayAdams27-Sep-16 2:28 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
kalberts27-Sep-16 3:28
kalberts27-Sep-16 3:28 
JokeRe: Another C# syntax to wish for (or any C class language) Pin
Daniel Pfeffer27-Sep-16 3:58
professionalDaniel Pfeffer27-Sep-16 3:58 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
kalberts27-Sep-16 2:35
kalberts27-Sep-16 2:35 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
Richard Deeming27-Sep-16 3:15
mveRichard Deeming27-Sep-16 3:15 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
kalberts27-Sep-16 3:41
kalberts27-Sep-16 3:41 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
raddevus27-Sep-16 3:21
mvaraddevus27-Sep-16 3:21 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
kalberts27-Sep-16 3:58
kalberts27-Sep-16 3:58 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
jsc4227-Sep-16 3:23
professionaljsc4227-Sep-16 3:23 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
kalberts27-Sep-16 3:35
kalberts27-Sep-16 3:35 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
Marc Clifton27-Sep-16 4:20
mvaMarc Clifton27-Sep-16 4:20 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
kalberts27-Sep-16 4:31
kalberts27-Sep-16 4:31 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
Marc Clifton28-Sep-16 15:33
mvaMarc Clifton28-Sep-16 15:33 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
Ryan Peden27-Sep-16 5:25
professionalRyan Peden27-Sep-16 5:25 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
BillWoodruff27-Sep-16 17:05
professionalBillWoodruff27-Sep-16 17:05 
GeneralRe: Another C# syntax to wish for (or any C class language) Pin
PIEBALDconsult28-Sep-16 11:05
mvePIEBALDconsult28-Sep-16 11:05 

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.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   482 votes