• atheken@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    1 year 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.

    • Jummit@lemmy.one
      link
      fedilink
      arrow-up
      0
      ·
      1 year 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.

      • Pantoffel@feddit.de
        link
        fedilink
        arrow-up
        0
        ·
        1 year 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.