News for hackers. Stuff that matters.
Re:PivotTable.js: a JavaScript Pivot Table implementation by yen223 on Tuesday June 25, 2013 @04:06AM (#5938139)
I'm not a Javascript expert, and I haven't used CoffeeScript before, but this block of code looks perfectly readable to me (except for that ugly mathematical equation). If this is supposed to be an example of unreadable code, then maybe it's time to learn me some Coffeescript...
Re:PivotTable.js: a JavaScript Pivot Table implementation by TheAnimus on Tuesday June 25, 2013 @07:19AM (#5938653)
Indeed, I've never given CoffeeScript more than a cursor glance, but I'll say that rates much higher in readability than average javascript I've written. If that is ment to be an example of bad pratice....
Re:PivotTable.js: a JavaScript Pivot Table implementation by andypants on Tuesday June 25, 2013 @08:15AM (#5938853)

    sumOverSumBound80: (sigfig=3, scaler=1, upper=true) -> ([num, denom]) -> ->
The many arrows in the first line are confusing to me.
Re:PivotTable.js: a JavaScript Pivot Table implementation by joesb on Tuesday June 25, 2013 @08:30AM (#5938931)
In Javascript, that would be three level of nested function, equally if not more confusing.