Hacker Newsnew | comments | show | ask | jobs | submit | login

This exists and is what Hound is built on. Rubocop runs lint checks against your Ruby code: https://github.com/bbatsov/rubocop/ . The Emacs integration is great; it highlights failures in place. Hound looks interesting, but having Emacs/Vim integration gives you a tighter feedback loop, so you don't have to wait until Pull Request time to discover these issues.

-----


RuboCop is great, but one benefit of Hound is it only checks code that has changed. Retroactively enforcing code style is usually a bad idea.

-----


You can also use linting tools as a build validation step (ours are invoked via things like `make myapp.pep8test`). These can also then be invoked yourself before making a commit. As jwinter says, this really tightens the loop when fixing trivial errors.

Almost all of the tools are very configurable in terms of which warnings/errors you want to ignore (e.g., let our max line length be 120 instead of 80), and give pretty good feedback (line numbers, exact error).

Another great benefit is that you have a neutral arbiter of what's the style for your codebase, which helps avoid ruffled feathers.

-----


I figured such a tool must exist. Thank you for helping me remain lazy. I agree about having the tighter feedback loop.

I'm hoping to create a git filter that stops the commit from happening if there are style guide violations.

-----


Check out the pomo gem. It works in a very similar way plus it adds a 25-minute timer for pomodoros. If you add your .pomo file to git would do the same integration.

https://github.com/visionmedia/pomo

-----


I also recommend checking out Audiogalaxy. It works surprisingly well on 3G and is a great way to access your entire music/podcast collection from your phone. I use it all the time.

-----


Is the email corpus available? One valuable thing that came out of Enron was real-world email data.

-----


The Housing First initiative in the US has seen some success: http://en.wikipedia.org/wiki/Housing_First

-----


http://twitter.com/perlisisms

-----


Knife and Chef: http://www.opscode.com/chef

-----


To rebut your Steve Yegge post with another Steve Yegge post (his opinion, at least in 2008, was closer to Jeff's than yours): http://steve-yegge.blogspot.com/2008/09/programmings-dirties...

-----


The Github founders were working on something like this (famspam) before they founded github.

-----


I'd like to see GitHub integration.

-----


Me too, we're hoping to get this in soon

-----

More

Guidelines | FAQ | Support | API | Lists | Bookmarklet | DMCA | Y Combinator | Apply | Contact

Search: