17 minutes ago · 10 min read2025 words · Tech · hide

Hello, loves! At a more civilized hour, I want to try yesterday’s idea. I’ve missed writing these articles, which entertain me and a couple of my friends. Today I want to try the peek/pop idea from yesterday’s closing thoughts. We’ll take a quick look at the existing code, and use our few existing tests as the basis for changing the implementation. I don’t think we’ll find that we can refactor from here to there but we’ll try to think of a way, because if we can find small refactoring steps, we can keep our tests running, and thus keep our confidence high. To review, we are doing some kind of text layout thing and the tiny bit we’re working on takes an input string of characters and breaks it down into Atoms. Each Atom contains a string of non-breaking characters, which we call ‘solids’, followed by breaking characters, called ‘splitters’. Currently there is only one known splitter, the space. So, using center dots (interpunct) to mark the spaces, the string ‘hi··there····stranger’…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town