Live data from Hacker News

Ask HN: Python or PHP?

news.ycombinator.com

11–16 of 16 posts

Re: Ask HN: Python or PHP?

#11
post #9
post #8

Earlier quoted context omitted.

Places using Python: Google, Youtube, Reddit, Yahoo, Quora, Dropbox, Spotify, Hunch, RedHat, Pinterest, Disqus, Mozilla, Instagram, Punchfork, The Onion (probably DC, not valley), etc.

Thank you for sharing! Is there a quick way to identify what sites are running Python? (view source, etc.)

Hopefully not. For the most part, that list was compiled from either personal experience or networking (E.g., sitting in on a "how we use Python at Quora" discussion at Pycon, for example). Unless one specifically crafts their HTML to say "Powered by Python" or "Powered by Rails" (sometimes people do, but even those aren't necessarily trustworthy), neither Rails nor Django projects are likely to contain any artifacts that would indicate what they were built with.

Re: Ask HN: Python or PHP?

#12
post #9
post #8

Earlier quoted context omitted.

Places using Python: Google, Youtube, Reddit, Yahoo, Quora, Dropbox, Spotify, Hunch, RedHat, Pinterest, Disqus, Mozilla, Instagram, Punchfork, The Onion (probably DC, not valley), etc.

Thank you for sharing! Is there a quick way to identify what sites are running Python? (view source, etc.)

There's builtwith.com - looks at server response headers etc. Doesn't always detect everything because hiding such information is a security advantage for website owners.

Re: Ask HN: Python or PHP?

#13
post #6

Earlier quoted context omitted.

The only tangible advantage that PHP has these days is in being able to be deployed pretty much everywhere for fairly cheaply. I mostly use Python these days, and yet I'd have to disagree strongly that easy deployment is PHP's only advantage. Outside of places like Silicon Valley it's a lot easier to find PHP programmers than Python programmers. On top of that many of the PHP programmers will be relatively cheap to h…

Are there any sites that come to mind that are using Python in the valley? I would love to check them out! I am from New York and I really don't hear people talk about Python much. For the short amount of time I've been using Python it has made me want to ditch PHP.

Dropbox is a huge one. I mean heck, they even hired the creator.

Re: Ask HN: Python or PHP?

#14
post #9
post #8

Earlier quoted context omitted.

Places using Python: Google, Youtube, Reddit, Yahoo, Quora, Dropbox, Spotify, Hunch, RedHat, Pinterest, Disqus, Mozilla, Instagram, Punchfork, The Onion (probably DC, not valley), etc.

Thank you for sharing! Is there a quick way to identify what sites are running Python? (view source, etc.)

There's a browser add-on for both firefox and chrome to quickly check what's powering a site: http://wappalyzer.com/download

Re: Ask HN: Python or PHP?

#15
post #3
post #2

For what task? There are things I use Python for; others I use C. That said...I'd never use PHP for anything I had a say in.

Good question. Task => web development.

Since you want to learn python and web development here is an awesome tutorial for Flask: http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-... I also recommend checking out codeschool/codeacademy for tutorials related to the web.

Re: Ask HN: Python or PHP?

#16
post #15
post #3

Earlier quoted context omitted.

Good question. Task => web development.

Since you want to learn python and web development here is an awesome tutorial for Flask: http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-... I also recommend checking out codeschool/codeacademy for tutorials related to the web.

I am pretty familiar with web development but where I seem to be getting lost is in the MVC frameworks such as RoR, Angular, etc. I'll check out this tutorial right now!
Post reply on HN