Hacker School Journal

14 thoughts
last posted April 8, 2014, 9:49 p.m.

3 earlier thoughts

0

On Wednesday, though, I rewrote the program to use single unicode characters to reference abbreviation objects. This radically simplified the logic involved, because the resulting lists were homogeneous lists of chars—mutable strings, in other words—which meant they could be acted on in-place, in a single pass. And regular expressions provide a very powerful framework for doing string substitutions.

10 later thoughts