Skip to content

Comment on Python bug: Can assign [] = (), but not () = []parent

Comments

Not consistent with my recollection of PHP since version 5, where they have fixed tons of old inconsistencies from the parser to the API level.

Perhaps based on older versions of PHP or merely uninformed snark?

Past experience and humor, mostly.

It used to be quite bad, but it's getting better in a good rate. Of course they have to keep bad stuff around for backwards compatibility, but unlike say Java they wasn't afraid to break too if it was for something smaller.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.