Click here to Skip to main content
15,892,298 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: When did syntax become so fussy? Pin
James Lonero12-Jun-21 17:46
James Lonero12-Jun-21 17:46 
GeneralRe: When did syntax become so fussy? Pin
PIEBALDconsult9-Jun-21 14:05
mvePIEBALDconsult9-Jun-21 14:05 
JokeRe: When did syntax become so fussy? Pin
enhzflep9-Jun-21 23:47
enhzflep9-Jun-21 23:47 
GeneralRe: When did syntax become so fussy? Pin
Maximilien10-Jun-21 2:53
Maximilien10-Jun-21 2:53 
GeneralRe: When did syntax become so fussy? Pin
Marc Clifton10-Jun-21 3:47
mvaMarc Clifton10-Jun-21 3:47 
GeneralRe: When did syntax become so fussy? Pin
obermd10-Jun-21 4:53
obermd10-Jun-21 4:53 
GeneralRe: When did syntax become so fussy? Pin
Gerry Schmitz10-Jun-21 5:26
mveGerry Schmitz10-Jun-21 5:26 
GeneralRe: When did syntax become so fussy? Pin
Gary R. Wheeler10-Jun-21 9:28
Gary R. Wheeler10-Jun-21 9:28 
Chris Maunder wrote:
Are we really helping the Art with this type of syntax?
No.

There seems to be a modern prejudice against classic iteration (for, while) and conditionals (if). Somehow writing these same constructs as imperative statements is "more robust" and "less error-prone". Any construct that introduces a nested scope seems subject to this prejudice. Those imperative statements are only syntactic sugar supplied by the compiler.

I have a hard time liking the new features in the last couple of major versions of C#. Most if not all of them seem to be this sort of syntactic sugar, and they don't really add new functionality.

The features that make the most sense to me are those that let you omit specifying a type where the compiler can figure it out from context. That saves typing (even with IntelliSense) and time.
Software Zen: delete this;

GeneralRe: When did syntax become so fussy? Pin
Jon McKee10-Jun-21 23:54
professionalJon McKee10-Jun-21 23:54 
GeneralRe: When did syntax become so fussy? Pin
Gary Wheeler11-Jun-21 3:55
Gary Wheeler11-Jun-21 3:55 
GeneralRe: When did syntax become so fussy? Pin
pmauriks10-Jun-21 19:56
pmauriks10-Jun-21 19:56 
GeneralRe: When did syntax become so fussy? Pin
Member 916705710-Jun-21 20:21
Member 916705710-Jun-21 20:21 
GeneralRe: When did syntax become so fussy? Pin
The Real Paps10-Jun-21 20:48
professionalThe Real Paps10-Jun-21 20:48 
GeneralRe: When did syntax become so fussy? Pin
Member 1368006011-Jun-21 0:01
Member 1368006011-Jun-21 0:01 
GeneralRe: When did syntax become so fussy? Pin
MadGerbil11-Jun-21 1:49
MadGerbil11-Jun-21 1:49 
GeneralRe: When did syntax become so fussy? Pin
Peter Adam11-Jun-21 10:38
professionalPeter Adam11-Jun-21 10:38 
GeneralRe: When did syntax become so fussy? Pin
James Lonero12-Jun-21 17:35
James Lonero12-Jun-21 17:35 
GeneralRe: When did syntax become so fussy? Pin
BotReject17-Jun-21 8:22
BotReject17-Jun-21 8:22 
GeneralRe: When did syntax become so fussy? Pin
Martin ISDN29-Jun-21 23:52
Martin ISDN29-Jun-21 23:52 
GeneralSo smart, so dubm Pin
raddevus9-Jun-21 10:15
mvaraddevus9-Jun-21 10:15 
GeneralRe: So smart, so dubm Pin
OriginalGriff9-Jun-21 10:42
mveOriginalGriff9-Jun-21 10:42 
GeneralRe: So smart, so dubm Pin
rnbergren9-Jun-21 11:16
rnbergren9-Jun-21 11:16 
GeneralRe: So smart, so dubm Pin
Nelek9-Jun-21 20:18
protectorNelek9-Jun-21 20:18 
GeneralRe: So smart, so dubm Pin
rnbergren10-Jun-21 4:12
rnbergren10-Jun-21 4:12 
GeneralRe: So smart, so dubm Pin
Mycroft Holmes9-Jun-21 12:46
professionalMycroft Holmes9-Jun-21 12:46 

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.