Unicode in JS is messy: https://code.google.com/p/v8/issues/detail?id=761#c33
miniblog.
Related Posts
Super impressed with the Ariadne library for compiler error formatting. It handles all the messy line highlighting, underlining etc that a good error should have.
Left: old, handrolled error formatting
Right: Ariadne formatting
"Mark of a chef: messy apron, clean sleeves" -- Ratatouille
What's the programming equivalent? Clean code, lots of stashes?
I've been adding heuristics to difftastic for showing comment changes. See before and after.
It's a messy problem: do I split on spaces or word boundaries? Do I handle "reflowing" single-line comments where a word is added to a sentence and several comments change?



