Email or username:

Password:

Forgot your password?
18 comments
A Manzer

@nixCraft I meeeeean, look at what line number that cursed statement starts on...

James 🌈💜

@nixCraft Makes perfect sense in Python. All lowercase? Has to be a variable - not the constant.

Pia Herself :v_lesbian:

@nixCraft Am I missing something here? Unless I'm too tired to think, this statement would never run and if it did, it'd bork.

MightyPirate™🏴‍☠️

@nixCraft looks like the core algorithm of today's ballot systems

John Thompson

@nixCraft The line numbers are the icing on this cake.

Epistomai

@LeftOfKarlMarx @nixCraft my guess is Python, but haters hate PHP because of this nonsense. The problem is not the language. It's the coders

LeftOfKarlMarx

@epistomai @nixCraft
That could work in Python if you aren't trying to reassign the booleans True and False, just making a questionable choice of variable names. But if True and False were capitalized, that would cause an error.

The Green Knight

@epistomai @LeftOfKarlMarx @nixCraft no, Python is a pretty shit scripting language that allows this stuff.

I can't take it seriously as a solution because it's honestly riddled with so much of this it's embarrassing.

Go Up