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
-
This is C# right? 1 < 2 will actually cost more bytes. 1 is an int so that is 4 bytes. 2 is also int and another 4 bytes. And then a bool will be allocated to hold the outcome of evaluating the expression. Besides that, who uses such expression for a simple true or false value? Its bad practice as it doesn't make the code any clearer and you are wasting bytes.
Related Rants
Just saved the company 1 byte, thank me later...
undefined
naked emma watson
c#
youre fired
refactoring