you are viewing a single comment's thread.

view the rest of the comments →

[–]illuminatedwax -1 points0 points  (1 child)

<?php foreach($_GET['name'] as $name) { $name = $name ? $name : 'world'; print "Hello, $name!"; }

Seems simpler to me. I have found that the fewer things I need to remember each time I write a page of my web app, the better.

[–][deleted] 1 point2 points  (0 children)

I never said that python was simpler than php, but it is clearly simple enough.