3 ms·
> Pirates use Flask, the Navy uses Django. WakaTime is a pirate I don't understand this. According to Netcraft, the US Navy uses Active Server Pages and the UK
by dalke 12y ago
> Pirates use Flask, the Navy uses Django. WakaTime is a pirate
I don't understand this. According to Netcraft, the US Navy uses Active Server Pages and the UK Navy uses ASP.NET. While there could be Django somewhere in there, there's likely also someone in the US Navy using Flask. I wasn't able to find a source which says that US Navy has decided to use Django for most of its web development - I think it would be pretty surprising for the US Navy to switch to Python over a more traditional enterprise solution!
More likely this is some pop culture culture reference I don't get. Anyone care to explain?
- ubernostrum 12y agoIt's the sort of thing someone says when they think they're an uber-l33t lean agile stealthy ninja rockstar webdevops disruptive buzzword buzzword, in my experience.
- jhgg 12y agoI don't think the title refers to the actual US Navy, but rather a "navy" vs "pirates" (as in people who use boats and occupy the open waters). The idea being that Django is more structured and much larger (as a navy usually is), where as Flask is smaller, etc...
- tosh 12y agohttp://www.folklore.org/StoryView.py?story=Pirate_Flag.txt http://www.folklore.org/StoryView.py?story=Pirate_Flag.txt
- jklein11 12y agoNot sure why this got downvoted... It 100% answers the question posed. Thanks Tosh!
- dalke 12y agoAhh! Yes, that's a perfect match for the given context. Thanks! I question the assertion "Django is older and larger, but Flask has a more active community according to GitHub." Surely the number of stars and watchers don't mean that those people are active in the project. According to the github pulse reports for the last month: > Flask (March 23, 2015 – April 23, 2015): Excluding merges, 19 authors have pushed 23 commits to master and 69 commits to all branches. On master, 16 files have changed and there have been 340 additions and 43 deletions. > Django (March 23, 2015 – April 23, 2015): Excluding merges, 124 authors have pushed 189 commits to master and 608 commits to all branches. On master, 2,395 files have changed and there have been 25,689 additions and 84,146 deletions. By those numbers it seems that Django has a much more active community, in the sense of making code changes. There are other types of activity than code commits, like support, conferences, etc. I don't get the sense that Flask is more active there either. Edit: If it is meant as an allusion to the Mac/Apple][ era at Apple then activity is a poor measure - there was much more activity and general interest in the Apple ][ during the Mac development.
- pyre 12y agoPart of the problem with comparing commits is the Django is more comprehensive. There is a larger "surface area" to make changes to.
- dalke 12y agoThe question really is, what's a useful way to determine which of two projects has a "more active community according to GitHub"? Is the number of stars/watchers a good enough proxy to use for decision making? The projects I use are typically quite small, and my code is on Bitbucket, so I have effectively no experience in this.
- andybak 12y agoYeah. According to this Django is for enterprisy play-it-safe noobs. Hmmmmm.
- welder 12y agoAuthor here. The Pirate/Navy title is a metaphor to say Django is rigid and Flask is flexible. You have to do things the Django way. With Flask, you can customize it easily. P.S. My cofounder Priyanka said the Pirate Navy line thing when reading the post, and I thought it was an awesome title :)
- pritianka 12y agoHehe, yes I remember saying it. Wasn't meant to be literal :-)
- collyw 12y agoWhile I agree with this to an extent (I use Django on a daily basis) Django is pretty flexible. If your app falls outside of a certain set of assumptions I would go for Flask (which I considered for a project we are working with). I would say that Flask apps need to be doing something special before Django is not considered.