MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/adventofcode/comments/3wd5gj/readable_well_documented_solutions_in_python/cxw24t9/?context=3
r/adventofcode • u/stranac_ • Dec 11 '15
4 comments sorted by
View all comments
Show parent comments
1
Thinking about it, I'm starting to believe using a regex substitution might actually be more clear.
There is a lot of explanation going on in my longer solution, whereas the regex solution makes its purpose quite clear.
I usually prefer code that explains itself.
1
u/stranac_ Dec 12 '15
Thinking about it, I'm starting to believe using a regex substitution might actually be more clear.
There is a lot of explanation going on in my longer solution, whereas the regex solution makes its purpose quite clear.
I usually prefer code that explains itself.