I guess, when your only objective is to keep a library small, this is a pretty reasonable POV, though it may seem extreme. You've got to admire them for the non-cargo-culting POV.
Maybe a bit of a rails-like style. But I find myself doing this a lot in express apps.
I still need to figure out a nice way to include middleware in the routes. Something like defining named ones that get invoked. Maybe on a per-action basis, rather than per route.
Any ideas?
There are a few features that would be nice:
- Pagination (or infinite scroll) of the front page
- Top stories of the past week/month reddit style, for people who don't visit that often
- I'd personally like markdown or more formatting in comments, so you could actually discuss code. And then possibly using a non-monospaced font for the text body
- I also wonder if you could do something to make the loading of the detail page (comments page) faster using ajax or (gulp) have a SPA type of scenario (though this might be driven more by the want to have a js-centered website, more dynamic for its own sake, as opposed to knowing that that would actually make anything better)
Off the top of my head. If I have more ideas/arguments I can add them.
Thanks for making this site btw. I think it's great
This is pretty interesting. JSHint has had this feature for a while, but it's cool to have a tool like this completely stand alone. I could imagine putting together a custom static analyzer such as jshint using grunt and a bunch of these smaller modules.