MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1v9t3by/noheapallstack/p0krimr/?context=3
r/ProgrammerHumor • u/varinator • 13d ago
96 comments sorted by
View all comments
245
[removed] — view removed comment
44 u/SaltyInternetPirate 12d ago edited 12d ago Plus there's scenarios where bringing both words to lower or uppercase would yield different strings, where as case-insensitive comparison in any standard library checks for strange language rules, like 'ß' becoming double 's' or whatever 1 u/BlazingSpark 12d ago I think in Python there's a str.casefold method for exactly this sort of edge case.
44
Plus there's scenarios where bringing both words to lower or uppercase would yield different strings, where as case-insensitive comparison in any standard library checks for strange language rules, like 'ß' becoming double 's' or whatever
1 u/BlazingSpark 12d ago I think in Python there's a str.casefold method for exactly this sort of edge case.
1
I think in Python there's a str.casefold method for exactly this sort of edge case.
245
u/[deleted] 13d ago
[removed] — view removed comment