Last active
December 8, 2022 14:04
-
-
Save Rudxain/cbaba8fdf56d0c1255217e96a975e98c to your computer and use it in GitHub Desktop.
Remember Fibonacci indent? What if we use other math sequences in the OEIS? (I'll probably convert this into a repo))
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Prime | |
foo {// 0 isn't prime, but we need it | |
bar {// 1 gets totally ignored lol | |
baz { | |
quz { | |
quux { | |
corge { | |
grault { | |
garply { | |
// waldoo | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
// Triangular (Factorial but adding) | |
foo { | |
bar { | |
baz { | |
quz { | |
quux { | |
corge { | |
grault { | |
garply { | |
// waldoo | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
// Logarithmic (kinda) | |
foo { | |
bar { | |
baz { | |
quz { | |
quux { | |
corge { | |
grault { | |
garply { | |
// waldoo | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}// minimum is 1 space, max is 16 | |
// Quadratic | |
foo { | |
bar { | |
baz { | |
quz { | |
quux { | |
corge { | |
grault { | |
garply { | |
// waldoo | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
// I ain't doing Cubic | |
// imagine using any Collatz-related sequence in the OEIS | |
// total chaos |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related. That link will probably be useful to me and everyone else that wants to implement a different indent sequence in VScode