DEV Community

Discussion on: JavaScript is a little weird!!

Collapse
 
tzwel profile image
tzwel • Edited

another one that thinks js is weird and doesn't even bother to learn BASIC programming rules. how do you imagine incrementing to a boolean? how would that work? learn about floating point maths, seems like your knowledge is lacking, then write an article

Collapse
 
matthewsalerno profile image
matthew-salerno

Plenty of people learn by writing. And putting these articles out can help with that. Sure maybe there should be some kind of disclaimer about still being new, but I don't think it's appropriate to gate people off based on knowledge, as writing and blogging about these often abstract processes in plain speak is an important step in the process of learning for some.

Collapse
 
tzwel profile image
tzwel

this is plain misinformation, and beginner programmers could really think that javascript is bad because of those nonexistent issues

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

Incrementing to a boolean isn't a normal thing to do in the first place; but the exact result depends on Boolean implementation.

Otherwise, a lot of things depend on the parser, e.g. what browser are you using; if the standard isn't written.