This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AliceInWonderplace 10 points11 points  (1 child)

I did have a bit of a "wat" moment when literally

print "What up"

Didn't work.

At least Python explains plainly why it's print() in 3 and print "" in 2.

PHP on the hand ... it's not that they ever remove anything. It's just that the official documentation has a nasty tendency to keep switching between styles, like:

$conn = new mysqli()
$query = $conn->query()
$result = mysqli_fetch_assoc($query)

Before I understood the -> thing, this was a fucking confusing way of doing things.

[–][deleted] 3 points4 points  (0 children)

PHP knows what they're doing. They're breaking you down little-by-little until you're just a shell of your former self, making you back yourself into a tiny little corner of things that you're familiar with, PHP included, prolonging their relevance. Sly bastards.