Hacker News new | ask | show | jobs
by the_french 2064 days ago
I think replicating RoR in Haskell is explicitly the goal of IHP.

I don't have a problem with them making opinionated choices for projects, I really don't want to have to wade through library choices and configuration each time I start a project.

Granted I started out as a Rails dev...

1 comments

> I really don't want to have to wade through library choices and configuration each time I start a project.

I think this is a false dichotomy. You certainly can have an opinionated way to setup a project that 90% of people use at first, with some way to customize things as you go along, or at least a way to replicate the standard setup with whatever tooling is more conducive to the user's vision.

Flask is a good example of this. You start out with a minimal single-file app, with a somewhat magical tool (`flask`) that will take care of starting a debug server for you and whatnot. As you go along, you can grow your app according to the official manual ('project layout', 'growing big' manual pages, using blueprints and application factories and other typical Flask patterns), or you can do something that fits more to your existing codebase. You can also keep using the `flask` tool, or write your own equivalent. Or skip it entirely and express everything as Python scripts.

Even with the quite more complex and scaffoldy Django, you're very much able to rejigger a scaffolded app easily into whatever structure you want, as long as you're ready to dust off the “Forbidden PYTHONPATH and DJANGO_SETTINGS tricks” book.