Click here to Skip to main content
14,361,180 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: Subjective matters: Code simplicity Pin
BryanFazekas17-Jun-19 2:10
memberBryanFazekas17-Jun-19 2:10 
GeneralRe: Subjective matters: Code simplicity Pin
#realJSOP17-Jun-19 2:23
mve#realJSOP17-Jun-19 2:23 
GeneralRe: Subjective matters: Code simplicity Pin
Mark_Wallace15-Jun-19 3:05
memberMark_Wallace15-Jun-19 3:05 
GeneralRe: Subjective matters: Code simplicity Pin
kmoorevs15-Jun-19 5:57
memberkmoorevs15-Jun-19 5:57 
GeneralRe: Subjective matters: Code simplicity Pin
Member 916705716-Jun-19 21:49
memberMember 916705716-Jun-19 21:49 
GeneralRe: Subjective matters: Code simplicity Pin
OriCpp17-Jun-19 0:32
memberOriCpp17-Jun-19 0:32 
GeneralRe: Subjective matters: Code simplicity Pin
Gary Wheeler17-Jun-19 2:45
memberGary Wheeler17-Jun-19 2:45 
GeneralRe: Subjective matters: Code simplicity Pin
englebart18-Jun-19 5:13
memberenglebart18-Jun-19 5:13 
I had asked a less experienced programmer to add a new feature to an existing javascript module.
Some code in that module was building a fairly complicated DOM element for rendering into a page.

They change the logic from safe, DOM manipulation into a massive string concatenation because it was easier for them to read!

I had them test with some data that included HTML special characters, typical of our data domain. BARF!

Sometimes simpler means "not to spec", especially when security is involved.

Thank goodness for source control.

GeneralRe: Subjective matters: Code simplicity Pin
Dr.Walt Fair, PE18-Jun-19 15:35
professionalDr.Walt Fair, PE18-Jun-19 15:35 
GeneralRe: Subjective matters: Code simplicity Pin
Super Lloyd18-Jun-19 15:37
memberSuper Lloyd18-Jun-19 15:37 
JokeOne minor indiscretion can ruin your life... Pin
Mike Hankey14-Jun-19 12:37
professionalMike Hankey14-Jun-19 12:37 
GeneralRe: One minor indiscretion can ruin your life... Pin
OriginalGriff14-Jun-19 12:43
protectorOriginalGriff14-Jun-19 12:43 
GeneralRe: One minor indiscretion can ruin your life... Pin
Mike Hankey14-Jun-19 12:47
professionalMike Hankey14-Jun-19 12:47 
GeneralRe: One minor indiscretion can ruin your life... Pin
Super Lloyd15-Jun-19 1:00
memberSuper Lloyd15-Jun-19 1:00 
GeneralRe: One minor indiscretion can ruin your life... Pin
Dr.Walt Fair, PE19-Jun-19 6:10
professionalDr.Walt Fair, PE19-Jun-19 6:10 
General"Star Fleet" logo found on Mars Pin
OriginalGriff14-Jun-19 10:29
protectorOriginalGriff14-Jun-19 10:29 
GeneralRe: "Star Fleet" logo found on Mars Pin
PIEBALDconsult14-Jun-19 10:34
protectorPIEBALDconsult14-Jun-19 10:34 
GeneralRe: "Star Fleet" logo found on Mars Pin
RickZeeland14-Jun-19 10:43
mveRickZeeland14-Jun-19 10:43 
GeneralRe: "Star Fleet" logo found on Mars Pin
enhzflep14-Jun-19 16:02
memberenhzflep14-Jun-19 16:02 
GeneralRe: "Star Fleet" logo found on Mars Pin
Super Lloyd14-Jun-19 20:56
memberSuper Lloyd14-Jun-19 20:56 
GeneralRe: "Star Fleet" logo found on Mars Pin
OriginalGriff14-Jun-19 21:15
protectorOriginalGriff14-Jun-19 21:15 
GeneralRe: "Star Fleet" logo found on Mars Pin
Mark_Wallace15-Jun-19 3:08
memberMark_Wallace15-Jun-19 3:08 
GeneralRe: "Star Fleet" logo found on Mars Pin
Daniel Pfeffer15-Jun-19 9:03
professionalDaniel Pfeffer15-Jun-19 9:03 
GeneralRe: "Star Fleet" logo found on Mars Pin
GuyThiebaut14-Jun-19 21:19
professionalGuyThiebaut14-Jun-19 21:19 
GeneralRe: "Star Fleet" logo found on Mars Pin
Super Lloyd15-Jun-19 1:11
memberSuper Lloyd15-Jun-19 1:11 

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.