Top all-time · #6219
Dmitry Baranovskiy
Personal blog · dmitry.baranovskiy.com/postwebprogramming
Dmitry Baranovskiy writes Dmitry, a personal blog at dmitry.baranovskiy.com about web and programming. Since 2008, 13 different Hacker News readers have linked it 13 times, most often “Typeof, == and ===”. No feed was found, so read it on the site itself.
Too few sampled comments (5) to say how often HN recommends it.?
Why HN links it
HN readers link Dmitry Baranovskiy's blog for its JavaScript writing, including posts on typeof and equality, and on whether library constructors should require 'new'.
Summarised by Claude from a sample of 5 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- Typeof, == and ===3 people · 3 mentions · first linked 2010-07-16
- Eve2 people · 2 mentions · first linked 2011-03-23
- So you think you know JavaScript (2009)2 people · 2 mentions · first linked 2012-03-03
- Raphaël 1.5 Released2 people · 2 mentions · first linked 2010-08-31
What Hacker News says?
We fully embrace Javascript as dynamically typed language and when one does this, types on most cases will become irrelevant. Then also using === in the code means that the usage is explicitly required in this specific place and == will cause wrong result. But when === and == are the same, then we use strictly ==. Also read this: http://dmitry.baranovskiy.com/post/typeof-and-friends If you are curious, please post s…
Comment linking /post/typeof-and-friends
on “JavaScript Equality Minesweeper”Submitted CSS digital clock - uses no images, only CSS borders as a story · 60 points
HN discussionHere's an argument in favor of not requiring library consumers to use new by the author of the Raphäel library: http://dmitry.baranovskiy.com/post/something-new
Comment linking /post/something-new
on “Treating JavaScript like a 30 year old language”Submitted Raphaël 1.5 Released as a story · 34 points
HN discussionDmitry's got something similar, Eve: http://dmitry.baranovskiy.com/eve/
Comment linking /eve/
on “Show HN: MicroEvent.js - js micro event emitter in less than 20lines”Submitted Raphaël 1.5 as a story · 17 points
HN discussionRe: strict equality everywhere. If you "fail to see the argument for not using it", then you're not trying hard enough. Javascript was not designed with strict equality check in mind. The coercion it does can be harmful if you don't know how it works, but it can be very useful and liberating if you do. Essentially, but restricting yourself to "strict equality" you make Javascript a less dynamic language. Sometimes "…
Comment linking /post/typeof-and-friends
on “JS Adolescence: Change of opinion regarding certain JavaScript practices”Submitted Raphaël, small javascript library for manipulating images and charts (svg/vml) as a story · 13 points
HN discussionLearn about prototypical inheritance and Javascript's lack of types. Everything in Javascript is an object. By object I mean a hash table (or dictionary, if you are coming from Python). Even functions and arrays are objects! Put that in your pipe and smoke it. Have a look at this code: function FancyArray() {} // In this setting a function is just a fancy name for an object. FancyArray.prototype = Array.prototype; v…
Comment linking /
on “Impel - HTML5 Javascript ORM”Submitted So you think you know JavaScript (2009) as a story · 5 points
HN discussionSubmitted Typeof, == and === as a story · 5 points
HN discussionSubmitted So you think you know Javascript? as a story · 2 points
HN discussionSubmitted Eve as a story · 2 points
HN discussion