Click here to Skip to main content
15,896,410 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: 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 
Jacquers wrote:
but for someone not familiar with it the drawback is that it's less understandable than the classic syntax.


Anyone and everyone that is writing production code (vs, say, hobby code for yourself and to learn) should know the syntax of the language like the back of their hand. One may not choose to use a particular syntactical sugar, but it should NOT result in a "WTF does this mean?"

Conversely, we all start from a place of "not knowing" and that's fine. But any code a junior dev writes should be reviewed by the senior people and the junior person should be educated. It's better for them, it's better for the company and the code base.

For example, I still feel I write "hobby level Javascript" and when I have to touch something on the front-end for our product, I always ask my coworker who knows Javascript much much better than I to review my changes.

I also look at his commits to learn things!

Writing dumbed down code simply so it's more readable for the less educated - why? That's absurd.

Jacquers wrote:
Also, should I pay back the company for the lines of deleted code?


Hell no. They should pay you! Less code == less things that can go wrong.

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 
GeneralRe: CCC OTD 2020-07-31 Pin
Richard MacCutchan30-Jul-20 23:12
mveRichard MacCutchan30-Jul-20 23:12 
GeneralRe: CCC OTD 2020-07-31 Pin
Randor 30-Jul-20 23:25
professional Randor 30-Jul-20 23:25 
GeneralRe: CCC OTD 2020-07-31 Pin
musefan30-Jul-20 23:33
musefan30-Jul-20 23:33 
JokeRe: CCC OTD 2020-07-31 Pin
Daniel Pfeffer30-Jul-20 23:59
professionalDaniel Pfeffer30-Jul-20 23:59 
JokeRe: CCC OTD 2020-07-31 Pin
Daniel Pfeffer31-Jul-20 0:02
professionalDaniel Pfeffer31-Jul-20 0:02 

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.