The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
I prefer the 'if x, then y = a, if not y=c' readability to 'y = if x'.
It just isnt explicit when I read the code. A programer might think the second is better, because its terser, but thats the thing I have seen so often, programmers glorying in how terse, and arcane, they can make their code at the expense of good simple readability.
I prefer explicit readability. Probably because I have more than enough complexity to deal with in the architecture when working in the kernel! It is viciously complex at times.
I don't see why "x = condition" is not explicit enough.
is it negative value? = is the value smaller than zero? is pretty explicit and self explanatory.
there is no need to add this redundant statement : "if yes then it's truly negative, or else it's false"; because the first expression "is the value smaller than zero?" has given us a true or false answer already.
I was playing Minecraft when my screen went all grayscale. I tried rebooting, but that didn't work. A quick Google lead me to a thread about this, and is appears Win + Ctrl + C will activate a screen filter of some sort. This might be NVidia, but no one in that thread was sure.
That's very annoying.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
Last Visit: 9-Apr-20 1:42 Last Update: 9-Apr-20 1:42