Kalan's Blog

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

四零二曜日電子報上線啦!訂閱訂起來

Software Engineer / Taiwanese / Life in Fukuoka
This blog supports RSS feed (all content), you can click RSS icon or setup through third-party service. If there are special styles such as code syntax in the technical article, it is still recommended to browse to the original website for the best experience.

Current Theme light

我會把一些不成文的筆記或是最近的生活雜感放在短筆記,如果有興趣的話可以來看看唷!

Please notice that currenly most of posts are translated by AI automatically and might contain lots of confusion. I'll gradually translate the post ASAP

The code fonts I have used over the years

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