🤷 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
Jakub Gwóźdź
12/02/2020, 5:30 PM
Principle of least power would render out Kotlin and where's the fun in that? 🙂
n
Nir
12/02/2020, 5:31 PM
hah, I think we have different interpretations of that particular principle 🙂
t
todd.ginsberg
12/02/2020, 5:59 PM
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.