News for hackers. Stuff that matters.
Re:Python Is Eating the World by winstonewert on Monday August 12, 2019 @11:43AM (#20676455)
> I still don't think you quite understand what's going on here. Python wouldn't create a new variable in this case. I It would re-assign the value represented by the variable you already assigned once.

Uh. no. he typoed the reassignment, so it wouldn't re-assign the value.

> So, of three of the most popular dynamic languages, Python, Ruby, and Javascript, none of them would have helped you catch this kind of error at script-parsing time. So again, it seems like you have an irrational dislike for Python, all things considered.

Sure, but he's made it clear he likes Java. Fundamentally he's against dynamic typing, so of course he doesn't like any of the dynamic languages.

Re:Python Is Eating the World by sreque on Monday August 12, 2019 @11:51AM (#20676544)
Ah my bad. I think I would have understood it more if he included the typo in his example.
Re:Python Is Eating the World by winstonewert on Monday August 12, 2019 @11:52AM (#20676553)
He did. But that just illustrates why this kind of bug is so annoying, its hard to spot.