3D Fractal Still Image
A still frame from a fractal animation I made with Mandelbulber2

3 Reasons Why Serif Font is Better for Coding

I think serif fonts (e.g. Times New Roman) are better for coding for 3 main reasons.

1. Names (of variables, functions, etc.) are easier to read

Syntax names are recognizable as the words they were originally constructed from, since the letters are closer together in serif. This helps with recognizing them faster.

2. You can fit more content into the same space

Compared to monospaced fonts, serif fonts take up less space on the screen since letters are closer together.

3. It makes it easier to write documentation

At least mentally, it's easier since it feels like writing a normal essay or other prose work. And due to the increased readability, it was also easier to edit the documentation that I wrote.

Before you go off and try it, just know it'll be uncomfortable your first time. That's unavoidable since it looks wildly different than how you've been writing code. But give it time, say 2 weeks or 30 hours of coding time, and see how you feel after adjusting. The utility is worth the revulsion from friends and coworkers ;)

Thanks to Juwan Jackson for offering feedback!

This article was updated on June 26, 2022