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: 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 
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 
Jacquers wrote:
but for someone not familiar with it the drawback is that it's less understandable than the classic syntax.

Code is written primarily for other programmers, not for the compiler. It does not matter how elegant your code is, if others cannot understand it.

Jacquers wrote:
What are your opinions on syntax changes like this?

If it isn't broken and is properly written, don't fix it. If you are fixing broken code, rewriting poorly written code, or writing new code, you may consider using new syntax.

Personally, I believe that the chance of introducing bugs into formerly working code by such syntactic sugar is not worth the supposed increase in clarity. My opinion might differ if you are writing a completely new module.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.

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 
AnswerRe: Less / Neater code vs Readability / Understanding Pin
Sander Rossel31-Jul-20 1:35
professionalSander Rossel31-Jul-20 1:35 
AnswerRe: Less / Neater code vs Readability / Understanding Pin
Eddy Vluggen31-Jul-20 2:15
professionalEddy Vluggen31-Jul-20 2:15 
AnswerRe: Less / Neater code vs Readability / Understanding Pin
obermd31-Jul-20 3:37
obermd31-Jul-20 3:37 
GeneralCCC OTD 2020-07-31 - SOLVED Pin
Randor 30-Jul-20 22:46
professional Randor 30-Jul-20 22: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.