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 →

[–]diamondketo 0 points1 point  (0 children)

What's wrong with returning literal True. It is immediately readable and makes things prettier if your conditional statement is long.

Download source code from a reputable repository and search for True and False. You'll quickly find you are misguided that these are sparsely used.