Hacker News new | ask | show | jobs
by jbarrec 4566 days ago
Good question. Task => web development.
2 comments

Go for Python, here is why: PHP is a nice enough language that can do almost every webapp task, however, you will type syntax far more than logic and will shoot yourself in the foot more often then not. Python is a clear and concise language compared to PHP, libraries and modules are often of a higher quality than PHP and can often be understood if you choose to go and look at their code. For developers with PHP experience, PHP is ofcourse easier, I have experience with both languages and have a clear prefference for python due to it's readability.

If you just want to do a small webapp, Flask is awesome, for a larger more complete framework you should go with Django.

Readability is the primary reason I have fallen in love with Python. I will look into Flask and Django!
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!