NeatNit

joined 10 months ago
[–] [email protected] 7 points 1 week ago (3 children)

Oh - a lemon o' pee!

[–] [email protected] 2 points 1 week ago

that does sound super useful

[–] [email protected] 3 points 1 week ago (4 children)

What is reveal codes?

[–] [email protected] 13 points 1 week ago

That word... I think it means exactly what you think it means.

[–] [email protected] 1 points 2 weeks ago

Have you been listening to the podcast A Problem Squared? This was a topic of the most recent episode (095 = Friday Fears and Disco Spheres). Friday the 13th is very slightly more common than other weekdays for the 13th.

https://aproblemsquared.libsyn.com/website/2022/04

[–] [email protected] 2 points 3 weeks ago

I believe there's a setting for whether it's global or per-window. Personally I prefer global, because I can't keep track of more than one state and I absolutely hate the experience of typing something and getting a different language than you expect.

[–] [email protected] 2 points 3 weeks ago

That's pretty cool

[–] [email protected] 3 points 3 weeks ago (2 children)

Multilingual users have multiple keyboard layouts, usually switching with Alt+Shift or similar key combo. If you're multitasking you might not realize you're on the wrong keyboard layout. So say you're chatting with someone in Russian, then you alt+tab to your source code and you spot a typo - you wrote my_var_xopy instead of my_var_copy. You delete the x and type in c. You forget this happened and you never realized the keyboard layout was wrong.

That c that you typed is now actually с, Cyrillic Es.

What do you say, is that realistic enough?

[–] [email protected] 1 points 3 weeks ago

Oh, that I agree with. But then there's the mess of Unicode updates, and if you're using an old version of the compiler that was built with an old version of Unicode, it might not recognize every character you use...

[–] [email protected] 4 points 3 weeks ago (8 children)

Sanity is subjective here. There are reasons to disallow non-ASCII characters, for example to prevent identical-looking characters from causing sneaky bugs in the code, like this but unintentional: https://en.wikipedia.org/wiki/IDN_homograph_attack (and yes, don't you worry, this absolutely can happen unintentionally).

[–] [email protected] 25 points 3 weeks ago (14 children)

Yes, but the language/compiler defines which characters are allowed in variable names.

view more: next ›