3 ms·
> Bottle does what it does with 1/10 of the code that runs flask. Not all of the code that is in Jinja2 or Werkzeug is used by the average Flask application.
by the_mitsuhiko 15y ago
> Bottle does what it does with 1/10 of the code that runs flask.
Not all of the code that is in Jinja2 or Werkzeug is used by the average Flask application. Also Flask does a lot more than Bottle, even for the same things. The routing system behind Werkzeug itself already comes close to 1KLOC (and for good reasons). Which is why I think that any comparison between Bottle and Flask is pretty pointless, it's not really a fair fight for either.
For Flask it was never a goal to have less code than another framework, in fact, from our perspective that's quite a pointless goal.