4 ms·
Line count is a silly way to score when all are around the same anyway (fewer than 100 lines). And the framework line count is another metric that shouldn't mat
by llambda 15y ago
Line count is a silly way to score when all are around the same anyway (fewer than 100 lines). And the framework line count is another metric that shouldn't matter.
That said, really the only valid point here against Flask is Python 3 support. Other than that Bottle and Flask are pretty much on par with each other.
- MostAwesomeDude 15y agoFlask has the advantages of fast templates, strong WSGI features, serious unit testability at the app and library level, complete documentation...
- llambda 15y agoDon't get me wrong, I love Flask. It's become my go-to web framework for Python. In my opinion it wins. But, that's just my opinion. :)
- zzzeek 15y agobut didn't you read the presentation ? templates are out man. Write your HTML as string concatenations "<html>" + helloworld + "</html>" right inside your __init__.py or YOU'RE NOT COOL.
- the_mitsuhiko 15y ago> Python 3 support Will come eventually. Right now the topic comes rarely up and it requires a ton of work on the Werkzeug side to make it work in a way that is user friendly. That being said, Flask and Jinja2 are not the problem here. The former easily works on Python 3 and the latter already does (just that we don't have any users on Python 3 yet).
- anthonyb 15y agoThe point behind the line count is that simpler code on the framework side counts, particularly when the documentation is sketchy or unclear. Less code for the same functionality means that you have less reading to do when learning the framework's intricacies.