Click here to Skip to main content
15,900,511 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: Explaining JavaScript and this to people. Pin
the goat in your machine3-Dec-17 14:45
the goat in your machine3-Dec-17 14:45 
JokeRe: Explaining JavaScript and this to people. Pin
Jeremy Falcon3-Dec-17 15:03
professionalJeremy Falcon3-Dec-17 15:03 
GeneralRe: Explaining JavaScript and this to people. Pin
the goat in your machine3-Dec-17 15:34
the goat in your machine3-Dec-17 15:34 
GeneralRe: Explaining JavaScript and this to people. Pin
Jeremy Falcon3-Dec-17 15:35
professionalJeremy Falcon3-Dec-17 15:35 
GeneralRe: Explaining JavaScript and this to people. Pin
Marc Clifton4-Dec-17 5:11
mvaMarc Clifton4-Dec-17 5:11 
GeneralRe: Explaining JavaScript and this to people. Pin
Jeremy Falcon4-Dec-17 5:54
professionalJeremy Falcon4-Dec-17 5:54 
GeneralRe: Explaining JavaScript and this to people. Pin
Jeremy Falcon3-Dec-17 15:02
professionalJeremy Falcon3-Dec-17 15:02 
GeneralRe: Explaining JavaScript and this to people. Pin
Rob Grainger4-Dec-17 1:38
Rob Grainger4-Dec-17 1:38 
Personally, I find having two acceptable string delimiters useful. If you're building a string that needs to contain double-quotes, you can use single-quotes to delimit it, and vice versa - avoiding having to use an escape sequence in many cases, and improving readability.

My gripes with JavaScript are many - but this isn't one of them. Douglas Crockford enumerated them well: Bad Parts: Appendix B - JavaScript: The Good Parts - O'Reilly Media[^]

Some of these are remedied in ES6, as detailed here (5 JavaScript “Bad” Parts That Are Fixed In ES6 – freeCodeCamp[^]), but not all mainstream browsers support all of these yet.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.

GeneralRe: Explaining JavaScript and this to people. Pin
Jeremy Falcon4-Dec-17 4:26
professionalJeremy Falcon4-Dec-17 4:26 
GeneralRe: Explaining JavaScript and this to people. Pin
Marc Clifton4-Dec-17 5:19
mvaMarc Clifton4-Dec-17 5:19 
GeneralRe: Explaining JavaScript and this to people. Pin
Jeremy Falcon4-Dec-17 6:05
professionalJeremy Falcon4-Dec-17 6:05 
GeneralRe: Explaining JavaScript and this to people. Pin
Marc Clifton4-Dec-17 11:08
mvaMarc Clifton4-Dec-17 11:08 
GeneralRe: Explaining JavaScript and this to people. Pin
Jeremy Falcon4-Dec-17 12:11
professionalJeremy Falcon4-Dec-17 12:11 
GeneralRe: Hey check this out... Pin
Jeremy Falcon3-Dec-17 15:27
professionalJeremy Falcon3-Dec-17 15:27 
GeneralRe: Hey check this out... Pin
Chris Maunder3-Dec-17 15:43
cofounderChris Maunder3-Dec-17 15:43 
GeneralRe: Hey check this out... Pin
Jeremy Falcon3-Dec-17 16:02
professionalJeremy Falcon3-Dec-17 16:02 
GeneralRe: Hey check this out... Pin
Marc Clifton4-Dec-17 5:22
mvaMarc Clifton4-Dec-17 5:22 
GeneralRe: Hey check this out... Pin
Jeremy Falcon4-Dec-17 5:53
professionalJeremy Falcon4-Dec-17 5:53 
GeneralRe: Explaining JavaScript and this to people. Pin
jsc423-Dec-17 21:29
professionaljsc423-Dec-17 21:29 
GeneralRe: Explaining JavaScript and this to people. Pin
Nathan Minier4-Dec-17 1:32
professionalNathan Minier4-Dec-17 1:32 
GeneralRe: Explaining JavaScript and this to people. Pin
grolarbear4-Dec-17 2:11
grolarbear4-Dec-17 2:11 
GeneralRe: Explaining JavaScript and this to people. Pin
Marc Clifton4-Dec-17 5:26
mvaMarc Clifton4-Dec-17 5:26 
GeneralRe: Explaining JavaScript and this to people. Pin
PIEBALDconsult3-Dec-17 14:17
mvePIEBALDconsult3-Dec-17 14:17 
GeneralRe: Explaining JavaScript and this to people. Pin
Jeremy Falcon3-Dec-17 14:30
professionalJeremy Falcon3-Dec-17 14:30 
GeneralRe: Explaining JavaScript and this to people. Pin
Chris Maunder3-Dec-17 15:41
cofounderChris Maunder3-Dec-17 15:41 

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   489 votes