News for hackers. Stuff that matters.
Re:Ask HN: Python or PHP? by jbarrec on Tuesday December 10, 2013 @12:32PM (#6882102)
Good question. Task => web development.
Re:Ask HN: Python or PHP? by jardaroh on Tuesday December 10, 2013 @12:43PM (#6882202)
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.

Re:Ask HN: Python or PHP? by jbarrec on Tuesday December 10, 2013 @02:04PM (#6882841)
Readability is the primary reason I have fallen in love with Python. I will look into Flask and Django!
Re:Ask HN: Python or PHP? by mercnet on Tuesday December 10, 2013 @04:13PM (#6883754)
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? by jbarrec on Wednesday December 11, 2013 @09:40AM (#6887806)
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!