Click here to Skip to main content
15,920,688 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: Oh JavaScript, you silly goose. Pin
PIEBALDconsult12-Dec-15 13:25
mvePIEBALDconsult12-Dec-15 13:25 
GeneralRe: Oh JavaScript, you silly goose. Pin
Jeremy Falcon12-Dec-15 19:18
professionalJeremy Falcon12-Dec-15 19:18 
GeneralRe: Oh JavaScript, you silly goose. Pin
PIEBALDconsult12-Dec-15 19:24
mvePIEBALDconsult12-Dec-15 19:24 
GeneralRe: Oh JavaScript, you silly goose. PinPopular
Jeremy Falcon12-Dec-15 19:28
professionalJeremy Falcon12-Dec-15 19:28 
GeneralRe: Oh JavaScript, you silly goose. Pin
Benito Aramando14-Dec-15 1:11
Benito Aramando14-Dec-15 1:11 
GeneralRe: Oh JavaScript, you silly goose. Pin
Jeremy Falcon14-Dec-15 4:08
professionalJeremy Falcon14-Dec-15 4:08 
GeneralRe: Oh JavaScript, you silly goose. Pin
DarkChuky CR14-Dec-15 4:51
DarkChuky CR14-Dec-15 4:51 
GeneralRe: Oh JavaScript, you silly goose. Pin
Benito Aramando15-Dec-15 1:15
Benito Aramando15-Dec-15 1:15 
Surely an advanced programmer should have little trouble using the stack trace and/or basic debugging tools to trace an error back to a /0 event? Or should be aware of when a 0 input is liable to cause problems and put in special handling for it? After all, even in a statically-typed language you won't get the error until runtime so you need to be aware of the pitfall when coding.

I personally prefer it the way it is, since as a dynamically-typed language JS can handle a /0 without having to throw, and for all the interpreter knows it may be that the result is being handled correctly even when it is not a number, so for JS to throw an error at run time, and potentially in production, when it is by no means a given that an error has occured or will be caused by it, would be bad.
GeneralRe: Oh JavaScript, you silly goose. Pin
Marc Clifton12-Dec-15 15:25
mvaMarc Clifton12-Dec-15 15:25 
GeneralRe: Oh JavaScript, you silly goose. Pin
Jeremy Falcon12-Dec-15 19:17
professionalJeremy Falcon12-Dec-15 19:17 
GeneralRe: Oh JavaScript, you silly goose. Pin
harold aptroot12-Dec-15 10:05
harold aptroot12-Dec-15 10:05 
GeneralRe: Oh JavaScript, you silly goose. Pin
Jeremy Falcon12-Dec-15 10:06
professionalJeremy Falcon12-Dec-15 10:06 
GeneralRe: Oh JavaScript, you silly goose. Pin
Jeremy Falcon12-Dec-15 10:08
professionalJeremy Falcon12-Dec-15 10:08 
GeneralRe: Oh JavaScript, you silly goose. Pin
Kornfeld Eliyahu Peter12-Dec-15 19:55
professionalKornfeld Eliyahu Peter12-Dec-15 19:55 
GeneralRe: Oh JavaScript, you silly goose. Pin
harold aptroot12-Dec-15 22:38
harold aptroot12-Dec-15 22:38 
GeneralRe: Oh JavaScript, you silly goose. Pin
KarstenK12-Dec-15 22:32
mveKarstenK12-Dec-15 22:32 
GeneralRe: Oh JavaScript, you silly goose. Pin
ones and zeros13-Dec-15 1:39
professionalones and zeros13-Dec-15 1:39 
GeneralOT - Hippo Burp Day! Pin
Nagy Vilmos13-Dec-15 6:48
professionalNagy Vilmos13-Dec-15 6:48 
GeneralRe: OT - Hippo Burp Day! Pin
Jeremy Falcon13-Dec-15 8:58
professionalJeremy Falcon13-Dec-15 8:58 
GeneralRe: Oh JavaScript, you silly goose. Pin
Richard Deeming14-Dec-15 3:46
mveRichard Deeming14-Dec-15 3:46 
GeneralRe: Oh JavaScript, you silly goose. Pin
Jeremy Falcon14-Dec-15 3:57
professionalJeremy Falcon14-Dec-15 3:57 
GeneralRe: Oh JavaScript, you silly goose. Pin
Cloud William14-Dec-15 6:04
Cloud William14-Dec-15 6:04 
GeneralRe: Oh JavaScript, you silly goose. Pin
BrainiacV14-Dec-15 6:13
BrainiacV14-Dec-15 6:13 
GeneralRe: Oh JavaScript, you silly goose. Pin
obermd14-Dec-15 17:58
obermd14-Dec-15 17:58 
GeneralHow long before vehicles start to issue speeding tickets to drivers? Pin
Daniel Miller12-Dec-15 9:39
professionalDaniel Miller12-Dec-15 9:39 

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.