Roberto

joined 10 months ago
[–] [email protected] 4 points 2 weeks ago

Had me until the yeast.

[–] [email protected] 4 points 4 months ago

Aren't we all captives of society and cultural norms

[–] [email protected] 2 points 5 months ago

I think I see what you mean, you have two states and kind of opposite but you usually name the variable after one of them, so you have to "guess" the other one. For instance you could have isRightHand, the opposite state being left hand, but from the variable name you can't be sure if it could be "not right hand" as in right foot or something like that. Man it's kind of difficult to come up with examples.

[–] [email protected] 7 points 5 months ago (2 children)

Not sure I understand your second example, if is_person_standing is false I'd assume the person is not standing and that's all the information is needed. As you said it yourself, if more information is needed maybe a boolean is not the best choice, or a second variable could be used.

[–] [email protected] 2 points 5 months ago

That was very difficult to read. In an age of chat gpt, how did they translate that?

[–] [email protected] 1 points 6 months ago (1 children)

Must be weird realizing that you owe your livelihood to Windows ME.

[–] [email protected] 4 points 7 months ago (1 children)

Doesn't work for me, keeps on asking every time (Firefox for Android at least)