Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Say What You Mean (in JavaScript). Parent comment
function f(p1, p2, p3){ p2 || ( p2 = "default); }
and i have a buddy that likes to do "poor man's unless":
if(something && other_thing || third_thing); else{ }
which helps you from having to figure out the logical inversion or have the ! to track down, but is a little weird
There are no comments on this comment yet.
function f(p1, p2, p3){ p2 || ( p2 = "default); }
and i have a buddy that likes to do "poor man's unless":
if(something && other_thing || third_thing); else{ }
which helps you from having to figure out the logical inversion or have the ! to track down, but is a little weird