Top all-time · #1996
ariya.io
Personal blog · ariya.ofilabs.comprogrammingweb
ariya.io is a personal blog at ariya.ofilabs.com about programming and web. Since 2011, 37 different Hacker News readers have linked it 59 times, most often “The boolean trap or how to design bad API”. It is still writing: the last post was on 2026-06-01, and you can follow it by feed.
Too few sampled comments (8) to say how often HN recommends it.?
Why HN links it
HN readers link ariya.io for short JavaScript and ES6 explainers, such as rest parameters and object literal shorthand, and for its API design post on the boolean trap.
- Recommended for · 1 comments
- One commenter says the boolean trap post covers the same topic as another linked article but is a more fun read.
Summarised by Claude from a sample of 8 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
ariya.io
Most-linked posts?
- The boolean trap or how to design bad API7 people · 7 mentions · first linked 2011-08-24
- JavaScript and V8 TurboFan2 people · 2 mentions · first linked 2014-08-10
- Optimizing CSS3 for GPU Compositing2 people · 2 mentions · first linked 2013-08-14
- Nix as OS X Package Manager2 people · 2 mentions · first linked 2016-05-25
What Hacker News says?
That's not the only thing you have to trust. http://ariya.ofilabs.com/2016/05/nix-as-os-x-package-manager... is served over HTTP. Saying "Copy and paste this `curl | sh` command" allows this attack: http://thejh.net/misc/website-terminal-copy-paste
Comment linking /2016/05/nix-as-os-x-package-manager.html
on “Nix as OS X Package Manager”Submitted Nix as OS X Package Manager as a story · 357 points
HN discussionAbsolutely they do. That's the major benefit of object orientation: named properties and methods. Otherwise, we fall into exactly the "boolean trap" that the author links away to. [1] [1] http://ariya.ofilabs.com/2011/08/hall-of-api-shame-boolean-t...
Comment linking /2011/08/hall-of-api-shame-boolean-trap.html
on “ECMAScript 6”Submitted WebKit project hit its monumental 100,000-th check in. as a story · 35 points
HN discussionES6 brings "rest parameter" [0]. function(param1, param2, ...rest) {} [0] http://ariya.ofilabs.com/2013/03/es6-and-rest-parameter.html
Comment linking /2013/03/es6-and-rest-parameter.html
on “For modern development Javascript indeed is a shit language”Submitted The boolean trap or how to design bad API as a story · 12 points
HN discussionThank you! TLDR: JSX transformer makes the following ES6 features compatible with old browsers (IE8+) * arrow functions [ http://tc39wiki.calculist.org/es6/arrow-functions/ ] * classes [ https://github.com/esnext/es6-class ] * destructuring [ http://fitzgeraldnick.com/weblog/50/ ] * object concise methods [ http://ariya.ofilabs.com/2013/03/es6-and-method-definitions.... ] * rest parameters [ http://tc39wiki.calculis…
Comment linking /2013/03/es6-and-method-definitions.html
on “A React.js case study”Submitted Cloud PhantomJS on Amazon EC2 as a story · 11 points
HN discussionIt's ES6 shorthand literal syntax [1], equivalent to: module.exports = { route: route, routes: routes }; [1] http://ariya.ofilabs.com/2013/02/es6-and-object-literal-prop...
Comment linking /2013/02/es6-and-object-literal-property-value-shorthand.html
on “Reapp – hybrid apps, fast”Submitted Hall of API shame: Boolean trap (2011) as a story · 8 points
HN discussionhall of api shame: the boolean trap , by Ariya (of Esprima and PhantomJS) covers the same topic but is probably a more fun read. http://ariya.ofilabs.com/2011/08/hall-of-api-shame-boolean-t...
Comment linking /2011/08/hall-of-api-shame-boolean-trap.html
on “Boolean parameters to API functions considered harmful (2011)”Submitted PhantomJS 1.8 Blue Winter Rose released as a story · 7 points
HN discussionI think they're both using Nitro (depending on who you ask: http://ariya.ofilabs.com/2012/06/nitro-javascriptcore-and-ji... ), but UIWebViews don't have JIT compilation turned on (no executable memory pages allowed in iOS apps), so they're slower.
Comment linking /2012/06/nitro-javascriptcore-and-jit.html
on “WebKit sorts JS arrays using Selection Sort”Submitted Optimizing CSS3 for GPU Compositing as a story · 5 points
HN discussionI thought you were being facetious! In case anyone else also thought that, turbofan is a real thing: " [1] > Recently, Google engineers landed a new optimizing JavaScript compiler for V8, codenamed TurboFan. As the name implies, this is supposed to further improve JavaScript execution speed, likely to be better than its predecessor, Crankshaft. While TurboFan is still in its early stage, that doesn’t mean we can’t t…
Comment linking /2014/08/javascript-and-v8-turbofan.html
on “Io.js – What You Need to Know”Submitted Lazy Parsing in JavaScript Engines as a story · 4 points
HN discussionSubmitted Isolated Development Environment Using Nix as a story · 3 points
HN discussionSubmitted Hall of API Shame: The Boolean Trap as a story · 3 points
HN discussionSubmitted Chromebook Pixel for Web Development as a story · 3 points
HN discussionSubmitted The evolution of PhantomJS build workflow as a story · 3 points
HN discussionSubmitted Most popular JavaScript keywords as a story · 3 points
HN discussionSubmitted Introducing Esprima: A Blazing-Fast JavaScript Parser as a story · 3 points
HN discussionSubmitted Using MozJPEG via Docker as a story · 2 points
HN discussionSubmitted Docker and Phoenix: How to Make Your Continuous Integration More Awesome as a story · 2 points
HN discussionSubmitted The Curious Case of JavaScript NaN as a story · 2 points
HN discussionSubmitted Sequences using JavaScript Array as a story · 2 points
HN discussionSubmitted Automatic Inlining in JavaScript Engines as a story · 2 points
HN discussionSubmitted ECMAScript 6 and Method Definitions as a story · 2 points
HN discussionSubmitted Non-descriptive property names as a story · 2 points
HN discussionSubmitted JavaScript branching and code shuffling as a story · 2 points
HN discussion