:shrug: prefer the principle of least power. I als...
# advent-of-code
n
🤷 prefer the principle of least power. I also prefer to avoid regex for code whose performance I may care about; i guess right now the AOC challenges are very small anyway but it won't stay that way
j
Principle of least power would render out Kotlin and where's the fun in that? 🙂
n
hah, I think we have different interpretations of that particular principle 🙂
t
I go for readability and find simple regex (like this one, four simple capture groups) easier to read than a string of split calls. But I totally do the string of split calls if the regex is even moderately complicated.
âž• 2