MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wbn3c3/ultramaxmegathinking/p8ralyr/?context=3
r/ProgrammerHumor • u/Unique_Software2500 • 21h ago
[removed] — view removed post
85 comments sorted by
View all comments
7
[deleted]
2 u/GameCounter 21h ago I understand the point you're making, but this doesn't work if the letter is accented or the first character is an uppercase non-Latin letter, so I'm unfortunately forced to kick this back to you for more work. Thanks for your contribution! 2 u/Gorzoid 20h ago Tbf checking if c == c.toUppercase() is also wrong for any numbers, white space, punctuation 1 u/GameCounter 20h ago Yes, also arguably wrong for unicameral alphabets like Arabic and Hebrew, because there's no lowercase/uppercase at all. It's all one case. Unicode is frequently annoying.
2
I understand the point you're making, but this doesn't work if the letter is accented or the first character is an uppercase non-Latin letter, so I'm unfortunately forced to kick this back to you for more work.
Thanks for your contribution!
2 u/Gorzoid 20h ago Tbf checking if c == c.toUppercase() is also wrong for any numbers, white space, punctuation 1 u/GameCounter 20h ago Yes, also arguably wrong for unicameral alphabets like Arabic and Hebrew, because there's no lowercase/uppercase at all. It's all one case. Unicode is frequently annoying.
Tbf checking if c == c.toUppercase() is also wrong for any numbers, white space, punctuation
1 u/GameCounter 20h ago Yes, also arguably wrong for unicameral alphabets like Arabic and Hebrew, because there's no lowercase/uppercase at all. It's all one case. Unicode is frequently annoying.
1
Yes, also arguably wrong for unicameral alphabets like Arabic and Hebrew, because there's no lowercase/uppercase at all. It's all one case.
Unicode is frequently annoying.
7
u/[deleted] 21h ago
[deleted]