Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
elazar10178yThe suggestion is indeed more readable and more conventional. And is less prone to typos. -
@ComradeBob Nope, will probably complain about built-in type bool not implementing the operator <
But haven't tried. -
@ComradeBob @Batburger nope, that won't work. Order of evaluation will give you a hard time with this
Related Rants

No questions asked
As a Python user and the fucking unicode mess, this is sooooo mean!
I just started working on a little project to browse devrant from terminal. It converts images to ascii art!
Today pycharm recommended me to simplify "if x > min and x > max"
Result: "if min < x < max"
Thank you for enlightening me, JetBrains
undefined
python