Roberto

joined 10 months ago
[–] Roberto@mujico.org 4 points 3 weeks ago

Had me until the yeast.

[–] Roberto@mujico.org 4 points 5 months ago

Aren't we all captives of society and cultural norms

[–] Roberto@mujico.org 2 points 6 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.

[–] Roberto@mujico.org 7 points 6 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.

[–] Roberto@mujico.org 2 points 6 months ago

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

[–] Roberto@mujico.org 1 points 6 months ago (1 children)

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

[–] Roberto@mujico.org 4 points 7 months ago (1 children)

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