That said, I congratulate you on your new found love of programming and your willingness to share the knowledge.
That said, I congratulate you on your new found love of programming and your willingness to share the knowledge.
PHP or Python are a better way to start because "hello world" is literally a line or two of code.
That said, I always recommend Python over PHP because it enforces good a habits from day one. Once you learn the skills and concepts, working in the much looser PHP environment is safer.
Wait, what?
Granted, ruby and python aren't as bad as perl, but they definitely aren't as regular as java either.
Of course, once you start getting into advanced topics, all that can go out the window, but at that point we aren't talking about a newbie anymore, so what we/they will expect from a language will be different.
I wouldn't mix those two when making a comparison to Perl.
As an example, there are like four different ways to write a simple 'if' statement in Ruby, with some blurring the difference between that statement and conditional expression (ternary operator in C-like languages). In Python, there is just one 'if' statement which is also clearly distinct from 'if-else' conditional expression.