Skip to main content
2026 Edition

The Beauty Index

Ranking 26 programming languages across 6 aesthetic dimensions.

Beauty is subjective; this index is deliberately opinionated.

Golden ratio spiral with Greek letters representing the six aesthetic dimensions

Read the methodology → Compare code side-by-side → Score justifications →

Rankings

Score Breakdown

Click any column header to sort

1 Python Beauty Index profile 9 7 8 10 9 9 52
2 Ruby Beauty Index profile 9 7 9 10 9 8 52
3 Elixir Beauty Index profile 9 7 9 9 9 9 52
4 Rust Beauty Index profile 7 9 8 9 8 10 51
5 Haskell Beauty Index profile 8 10 8 6 6 10 48
6 Clojure Beauty Index profile 6 9 8 7 8 10 48
7 F# Beauty Index profile 8 9 9 6 7 8 47
8 Gleam Beauty Index profile 8 6 7 9 8 9 47
9 Kotlin Beauty Index profile 8 7 8 8 8 7 46
10 Swift Beauty Index profile 9 7 8 7 7 7 45
11 Lisp Beauty Index profile 5 9 7 5 8 10 44
12 OCaml Beauty Index profile 7 9 8 5 7 8 44
13 Go Beauty Index profile 8 4 6 7 9 9 43
14 Julia Beauty Index profile 7 8 7 7 7 7 43
15 Scala Beauty Index profile 7 8 8 6 5 7 41
16 Zig Beauty Index profile 6 7 6 6 6 8 39
17 TypeScript Beauty Index profile 6 6 7 7 7 6 39
18 C Beauty Index profile 6 7 6 4 6 9 38
19 Lua Beauty Index profile 7 5 6 6 7 7 38
20 Dart Beauty Index profile 7 5 6 6 7 5 36
21 C# Beauty Index profile 5 6 7 6 6 6 36
22 R Beauty Index profile 5 7 5 5 5 5 32
23 Java Beauty Index profile 5 4 5 4 7 6 31
24 JavaScript Beauty Index profile 5 5 6 5 6 3 30
25 C++ Beauty Index profile 3 7 5 4 4 5 28
26 PHP Beauty Index profile 4 4 5 4 5 3 25

Language Profiles

Head-to-Head Comparison

Pick two languages to compare side-by-side across all 6 dimensions.

vs

Popular: Python vs Rust · Haskell vs Go · TypeScript vs JavaScript · Rust vs Go · Python vs Ruby · Kotlin vs Swift · Elixir vs Clojure · Python vs JavaScript

How to Cite This Index

Golabek, P. (2026). The Beauty Index: Ranking 26 Programming Languages by Aesthetic Beauty (2026 Edition). patrykgolabek.dev. https://patrykgolabek.dev/beauty-index/