3 ms·
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 eq
by yen223 13y ago
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...
- TheAnimus 13y agoIndeed, 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....
- andypants 13y agosumOverSumBound80: (sigfig=3, scaler=1, upper=true) -> ([num, denom]) -> -> The many arrows in the first line are confusing to me.
- joesb 13y agoIn Javascript, that would be three level of nested function, equally if not more confusing.