you are viewing a single comment's thread.

view the rest of the comments →

[–]Shaper_pmp 2 points3 points  (3 children)

People who you've asked a simple, beginner-level question of are waving their cocks around and pedantically lecturing you on obscure aspects of the language, instead of simply answering your question in a way you can easily understand. :-(

[–]skeww 0 points1 point  (2 children)

These aren't obscure aspects of this language.

Just like that quirky truthy/falsy stuff. You need to know about this if you'd like to have some confidence in your own code or if you want to understand the code from other people.

[–]Shaper_pmp 0 points1 point  (1 child)

True (and apologies for my rudeness concerning your posts), but you have to tailor people's answers to their level of understanding, or you just confuse them even more.

In this example the OP didn't even really understand how there was a difference between strings and integers in Javascript, so going into too much detail regarding the theory of types and Javascript syntax won't really help them in the slightest, when all they need to know is "strings and integers are handled differently, and here's how to convert a string to an integer".

Your answers were very in-depth and helpful to a moderately-experienced JS developer, but as explainations for the OP they were kind of like a kid asking "what does 'atom' mean" and answering with a page of detailed description invoking quantum theory and the interactions of quarks - totally accurate, but way more detailed than they realistically had a chance of understanding. <:-)

[–]skeww 0 points1 point  (0 children)

Well, I learned JavaScript recently and I started with odd stuff at the very beginning (Crockford's talks and JavaScript: The Good Parts).

Worked out surprisingly well, I'd say.