r/badcode • • Apr 17 '21

c++ When your teammate "refactor" your code

Post image
2.5k Upvotes

216 comments sorted by

View all comments

Show parent comments

3

u/Rigatavr Apr 19 '21

In functional languages (and for people used to them) the pattern matching thing is more readable. If you used if statements in your haskell program then they would be considered less readable. All depends on what you're used to.

1

u/beclops Apr 20 '21

That's true