Hacker News new | past | comments | ask | show | jobs | submit login

Flask is great for smaller things where Django is far too verbose. Like single file webservers for basic stuff.

Its also for more complex stuff but then you have to grab additional libraries to do stuff like db management, migrations, serialization, etc.

Flask also has some, in my opinion, rather uncomfortablly unintuitive global scope stuff. Where responses aren't passed into the view function, they're available on the imported flask object.




Good to know. I haven't used Flask recently, I have used Express.js which is Node.js's version of Flask, and I really like how simple it is. Most apps these days seem to have a REST (or GraphQL) backend and dynamic (often React.js) frontend. Flask (and Flask-RESTful) would probably be a better fit for this type of app than Django.


Yeah don't let me dissuade you. Flask is a prime piece of software.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: