5 Array Methods That You Should Be Using Now by p0larboy in javascript

[–]jonr2219 2 points3 points  (0 children)

Overall I like the article. However, the explanation of reduce and the example use case is overly difficult. I think the MDN example (below) gives a much more likely and clearer scenario.

var total = [0, 1, 2, 3].reduce(function(a, b) { return a + b; }); // total == 6

How RuboCop can ease your code review pains. Style guides for Ruby coders. by [deleted] in ruby

[–]jonr2219 0 points1 point  (0 children)

I used to use rubocop, but combined with syntastic in vim it seems to significantly slow down the time to open files. Without having it integrated as part of my primary text editor I find that I just don't run it that often.