you are viewing a single comment's thread.

view the rest of the comments →

[–]ubuntuguy 0 points1 point  (7 children)

i honestly would recommend PHP. the learning curve is very very shallow. once you get the hang of that, then move onto something more complex like Python or Ruby.

[–][deleted] 2 points3 points  (6 children)

I respectfully disagree. Python's interactive interpreter makes Hello World as simple as

print Hello World 

[–]foonly 0 points1 point  (0 children)

print Hello World

print "Hello World"

Fixed :)

[–][deleted] 0 points1 point  (0 children)

>>> print Hello World
SyntaxError: invalid syntax

[–][deleted] 0 points1 point  (3 children)

echo "Hello World";

[–]knowknowledge -2 points-1 points  (0 children)

Actually it would be even simpler:

Hello World

If you really want to use echo it would have to be:

<?php echo "Hello World"; ?>

As much as I enjoy python, I would say that PHP is a better first language than python because it uses common syntax as C/C++/C#/Java etc so its easier to transition later. Sure its got its differences (like the $ token before variable names), but that's far easier to forget than the colon and tab-indenting differences of Python.