Skip to content

Commit 093a8a7

Browse files
committed
add surface area metric (keywords + concepts), restructure homepage, add ada language profile
1 parent 78b23b5 commit 093a8a7

127 files changed

Lines changed: 639 additions & 37 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Same programs, 15 languages, measured automatically. Compares conciseness, compl
88

99
## Languages
1010

11-
C, C++, Rust, Zig, Milo, Go, Java, Kotlin, Swift, Haskell, Elixir, Python, Ruby, JavaScript, TypeScript
11+
Ada, C, C++, Rust, Zig, Milo, Go, Java, Kotlin, Swift, Haskell, Elixir, Python, Ruby, JavaScript, TypeScript
1212

1313
## Quick start
1414

data/a1-two-sum-c.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,9 @@
3636
"ceremony": {
3737
"ceremonyLines": 7,
3838
"ceremonyRatio": 0.583
39+
},
40+
"surfaceArea": {
41+
"keywords": 44,
42+
"concepts": 60
3943
}
4044
}

data/a1-two-sum-cpp.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,9 @@
3636
"ceremony": {
3737
"ceremonyLines": 6,
3838
"ceremonyRatio": 0.4
39+
},
40+
"surfaceArea": {
41+
"keywords": 92,
42+
"concepts": 135
3943
}
4044
}

data/a1-two-sum-elixir.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,9 @@
3636
"ceremony": {
3737
"ceremonyLines": 3,
3838
"ceremonyRatio": 0.231
39+
},
40+
"surfaceArea": {
41+
"keywords": 15,
42+
"concepts": 62
3943
}
4044
}

data/a1-two-sum-go.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,9 @@
3636
"ceremony": {
3737
"ceremonyLines": 4,
3838
"ceremonyRatio": 0.333
39+
},
40+
"surfaceArea": {
41+
"keywords": 25,
42+
"concepts": 58
3943
}
4044
}

data/a1-two-sum-haskell.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,9 @@
3636
"ceremony": {
3737
"ceremonyLines": 2,
3838
"ceremonyRatio": 0.2
39+
},
40+
"surfaceArea": {
41+
"keywords": 24,
42+
"concepts": 75
3943
}
4044
}

data/a1-two-sum-java.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,9 @@
3636
"ceremony": {
3737
"ceremonyLines": 7,
3838
"ceremonyRatio": 0.467
39+
},
40+
"surfaceArea": {
41+
"keywords": 68,
42+
"concepts": 80
3943
}
4044
}

data/a1-two-sum-javascript.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,9 @@
3636
"ceremony": {
3737
"ceremonyLines": 3,
3838
"ceremonyRatio": 0.3
39+
},
40+
"surfaceArea": {
41+
"keywords": 46,
42+
"concepts": 65
3943
}
4044
}

data/a1-two-sum-kotlin.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,9 @@
3636
"ceremony": {
3737
"ceremonyLines": 2,
3838
"ceremonyRatio": 0.222
39+
},
40+
"surfaceArea": {
41+
"keywords": 78,
42+
"concepts": 85
3943
}
4044
}

data/a1-two-sum-milo.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,9 @@
3636
"ceremony": {
3737
"ceremonyLines": 7,
3838
"ceremonyRatio": 0.389
39+
},
40+
"surfaceArea": {
41+
"keywords": 30,
42+
"concepts": 40
3943
}
4044
}

0 commit comments

Comments
 (0)