The Absolute Minimum Every Software Developer Must Know About Unicode in 2023 (Still No Excuses!)

3 years ago by snaggen to c/programming

Modern extension to classic 2003 article by Joel Spolsky
load all comments
atheken 16 points 3 years ago

Unicode is thoroughly underrated.

UTF-8, doubly so. One of the amazing/clever things they did was to build off of ASCII as a subset by taking advantage of the extra bit to stay backwards compatible, which is a lesson we should all learn when evolving systems with users (your chances of success are much better if you extend than to rewrite).

On the other hand, having dealt with UTF-7 (a very “special” email encoding), it takes a certain kind of nerd to really appreciate the nuances of encodings.

path: 0 4095144, hotness: undefined, score: 16, children: 3
Jummit 5 points 3 years ago

I've recently come to appreciate the "refactor the code while you write it" and "keep possible future changes in mind" ideas more and more. I think it really increases the probability that the system can live on instead of becoming obsolete.

path: 0 4095144 4096705, hotness: undefined, score: 5, children: 1
Pantoffel 1 point 3 years ago

Yes, but once code becomes too spaghetti such that a "refactor while you write it" becomes too time intensive and error prone, it's already too late.

path: 0 4095144 4096705 4118588, hotness: undefined, score: 1, children: 0
JackbyDev 2 points 3 years ago path: 0 4095144 4099436, hotness: undefined, score: 2, children: 0
programming
programming

@programming.dev

login for more options
28819
3722
3326

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev


go to feed...