Hacker News new | ask | show | jobs
by iwejfweoifjweif 5108 days ago
Why is python or ruby too hard for your dad to learn? If anything I would think something like ruby would be even easier than php since things are a bit more consistent.

I just don't see how PHP is more approachable, especially compared to the supposed ease of ruby on rails.

4 comments

Err, I love Rails and all, but don't confuse ease of use with ease of learning. The thing about putting convention over configuration is that you have to learn a lot of conventions.
Interestingly, this is the problem with non-alphabetic natural languages, too.
Try getting Django to run on various hosting sites. Dreamhost - been with them for ten years, gave up trying to get Django to work after a month of poring thru the docs, trying to get tab A into slot 3x. Mind you, I really like Python, but it's not worth the effort for a couple more years.

PHP is the A-10 of languages. It's a slow, ugly and easy target. It works pretty much everywhere.

For pretty much every language these days, there is a hosted service that will handle deployment for you, and you can just push code to them and they'll take care of the rest. Better yet, they're perfect for beginners, who usually don't know much about database tuning, firewalls, etc.
Which kind of leaves me not understanding how it's deployed, etc., which I kind of feel like I need to know.

There isn't any one perfect solution, just workable ones.

Yeah, but the average person doesn't really understand how their PHP is set up either. It was done for them, or they copy and pasted some instructions.

Perhaps it's best if you either completely take deployment into your own hands, or you let someone else do it for you. Given all that, rolling your own could still be made simpler.

Django + dreamhost sucks, I concur.

Try these guys (they also do rails and other stuff as well): webfaction.com

Stop comparing PHP to Rails.

Compare Ruby to PHP and something like Symfony to Rails.

Learning Ruby: approachable. Learning PHP: approachable. Learning Rails/Symfony: run for the hills (for newbie programmers).

Languages !- Frameworks (at least for the purposes of this comparison)

He's been an HTML coder for about 10 years doing sites with front page and other html authoring tools.

Him figuring out <? print date('Y'); ?> is fairly easy when he already understands html.

That makes sense then. There is more of a shift in thinking going from html to python vs php.