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
-
meh, it's easier to read if(x == false) than trying to hunt down if(!x) at 1 in the morning. I use the ! syntax, but definitrly don't mind the other. Some times verbosity ain't such a bad thing.
-
@Lisanna in any language !False == True, and Javascript also represents null or undefined as false. My religious zealotry remains strong despite your false Python idols!
-
@mclark1129 I refer to the reading of code, other people's and your own in six months time.
-
Working through legacy VB6 code this week...
If SomeBoolean = False Then...
as opposed to
If Not SomeBoolean Then...
And this is VB, the most verbose language! -
@grolofson you're not alone my friend. Im in the prime of programming and saw this lately on a javascript project and gave it a try on my projects replacing if statements accordingly and what I came up with was exactly the same thoughts as you. Why the hell isnt this more popular? I think I will be using it all the time. :D
Related Rants
-
needToRoll8This guy next to me in the train is coding C#... but his codestyle looks like... no words... I am now reading ...
-
tomtom277010We currently have multiple exercises for a lecture and they decided to use python this year instead of Matlab,...
-
k0pernikus3I don't care what codestyle you want. I even can deal with codestyle I detest. (Looking at you, Vertical Align...
I can't stand when people use (SomeBoolean == false) instead of (!SomeBoolean)
undefined
codestyle