Kalan's Blog

Software Engineer / Taiwanese / Life in Fukuoka

Current Theme light

Actually, talking about code fonts is a bit politically incorrect because it assumes that code is always written in a monospaced font. However, some people dislike writing code in monospace and find it difficult to read.

Setting aside these factors, developers who write code in monospace fonts still make up the majority. This article shares some monospace fonts that have been used in recent years.

The choice of font is not important and won't affect your productivity, but sometimes it's interesting to see a developer's preference. Maybe you can find a font that suits your taste. Here they are, listed in order of preference.

0. IBM Plex Mono

https://fonts.google.com/specimen/IBM+Plex+Mono

1. MonoLisa (Paid)

https://www.monolisa.dev/

MonoLisa Font Introduction

I don't have much research on fonts, but I thought it was cool after reading the introduction on their website, so I bought it. I haven't encountered any major issues so far, and I use MonoLisa for both the terminal and VSCode. They have compared it with other monospaced fonts on their website, so you can take a look.

2. Microsoft - Cascadia Code

https://github.com/microsoft/cascadia-code

This is an open-source monospaced font produced by Microsoft, and it has a distinct appearance compared to other monospaced fonts. If you want to change fonts and switch up your mood, you can give it a try.

Screenshot 2021-09-15 11.49.18

3. JetBrains Mono

https://www.jetbrains.com/lp/mono/

JetBrains' monospaced font looks noticeably narrower and taller than other monospaced fonts. I used it for a while and didn't encounter any major issues. I quite like using it with JetBrains' IDE.

JetBrains Mono

4. FiraCode

https://github.com/tonsky/FiraCode

For me, FiraCode is a decent monospaced font. I didn't have any major issues using it, although I personally feel that the spacing is a bit wide.

ligatures.png

(Image taken from GitHub)

5. Monaco

The built-in monospaced font on Macbooks.

6. Hack

https://sourcefoundry.org/hack/

Another decent monospaced font, it feels a bit more rounded?

Hack Font

That's about it. If I come across any other fonts in the future that I like, I'll add them.

Prev

Why is the mental model crucial for learning programming languages?

Next

Asahi Linux - Running Linux on Apple M1

If you found this article helpful, please consider buy me a drink ☕️ It'll make my ordinary day shine✨

Buy me a coffee

作者

Kalan 頭像照片,在淡水拍攝,淺藍背景

愷開 | Kalan

Hi, I'm Kai. I'm Taiwanese and moved to Japan in 2019 for work. Currently settled in Fukuoka. In addition to being familiar with frontend development, I also have experience in IoT, app development, backend, and electronics. Recently, I started playing electric guitar! Feel free to contact me via email for consultations or collaborations or music! I hope to connect with more people through this blog.