4 ms·
Here's the advice I was given: if you're going to go with an opinionated framework, go with Rails. If you really want to use Python over Ruby, go with Flask. Hi
by rmrfrmrf 13y ago
Here's the advice I was given: if you're going to go with an opinionated framework, go with Rails. If you really want to use Python over Ruby, go with Flask. His thought is that Ruby is more dogmatic than Python by design, so Rails' dogmatic nature lends itself to Ruby more. Python's flexibility lends itself to a more flexible, lightweight framework like Flask.
- natrius 13y agoPython is more dogmatic than Ruby. http://www.python.org/dev/peps/pep-0020/ http://www.python.org/dev/peps/pep-0020/ Choosing a minimalistic web framework like Flask or Sinatra makes sense if you're experienced enough to know what choices Django and Rails make for you and you're comfortable making those decisions on your own. Otherwise, pick Django or Rails and start building things.
- jsmeaton 13y agoCouldn't agree with you more. I know what choices django makes for me, and I'm entirely happy letting it. I'd really miss a lot of what django has to offer if I were to move to something like flask.
- thatthatis 13y agoI'll be quoting you on this. Best most succinct advice I've seen on flask vs django
- legutierr 13y agoIf he's concerned with speed, why recommend Rails? It's just the same as Django in that department, if not slower. My advice to someone asking this question is to pick the language they feel the most expressive in, and then pick the framework. Django's a fine choice. That being said, I'd love to see a microframework like Flask for Lua/openresty gain in popularity.