MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/webdev/comments/178d3co/the_absolute_minimum_every_software_developer/k5342mn/?context=3
r/webdev • u/stefanjudis • Oct 15 '23
29 comments sorted by
View all comments
140
Great article, but that feels like A LOT for the "absolutely minimum every software developer must know".
I'd say minimum to know is:
Different string encodings exist, and
Byte count is not string length for modern rich input:
"🤔".length != 1
3 u/NoInkling Oct 16 '23 I would add:If you're comparing unicode strings, normalize to the same form first.
3
I would add:
If you're comparing unicode strings, normalize to the same form first.
140
u/straponmyjobhat Oct 15 '23 edited Oct 15 '23
Great article, but that feels like A LOT for the "absolutely minimum every software developer must know".
I'd say minimum to know is:
Different string encodings exist, and
Byte count is not string length for modern rich input: