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
-
@ThatDude The meme was funny. You broadcasting that you down voted the post was not.
-
dfox426037y@ThatDude if you don’t like a rant, please downvote it and move on. What’s “shitty” to some people isn’t to others and a comment beyond a downvote isn’t needed, like @AlgoRythm said.
-
dfox426037y@ThatDude we’re trying to avoid people doing that. That’s what voting is for. Commenting on the rant with negativity often derails the conversation like it did here and makes users feel unwelcome in the community.
This is a perfectly good rant. I enjoyed it. You’re entitled to dislike it, but we ask that you use the appropriate downvote reason and not a negative comment bashing the content uploader. This is explicitly what the downvote feature is for. -
dfox426037y@ThatDude thanks. We’re trying to get away from it because we’ve gotten a number of complaints lately (not about you) about the behavior in general.
-
Python55357yI know it's a meme but I usually use the second case for readability. It's not always clear if it's a Boolean or an empty string in the condition.
The third one though. Just kill it with fire. -
void checkValue(bool) {
if (bool != !false) {
Return !true
}
Return !!true
end
if(checkValue(bool) == !false) {
newBool = checkValue(bool) == true
Else
newBool = checkValue(bool) == true
Related Rants
Well how do you check booleans?
joke/meme
pro or idiot
boolean