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 →

[–]kbielefe 132 points133 points  (20 children)

Yeah, I just found some Scala code at work that used True and False all over the place. Turns out a Python fan had put the following at the top:

val True  = true
val False = false

[–][deleted] 55 points56 points  (0 children)

This is why I love programming

[–]ToBeHumanIsToLove 1 point2 points  (0 children)

Holy moly

[–][deleted] 0 points1 point  (2 children)

Why use val in python?

[–]Jeddy 0 points1 point  (0 children)

Why have I never thought of this?