Todd Wolfson

Software Engineer

November 26, 2013

I am making progress with respect to relative line lengths inside of code.

Relative line length

A few months ago, I had the idea to apply the typographic concept of ideal characters per line and begin applying it to code.

Proof of concept

Unfortunately, the concept was rough around the edges and I struggled at making it more appealing. A few weeks later, I took the next iteration which is what you see at the top.

There is a piece that is still missing; as you type code, you magically hit a limit without any forewarning. I attempted to use a ruler for this but when you switched lines, it got frustrating to watch it jump around.

Ruler jump

I have a few thoughts lying around on how to solve this but the road ahead is a slow and viscous one.

Related articles

Optimal line length theory

Experimenting with relative typographic line length limits applied to code.

Top articles

Develop faster

Removing the tedium from creating, developing, and publishing repos.

Sexy bash prompt

A bash prompt with colors, git statuses, and git branches.