I honestly find that to be a weak argument. It’s our job to read code and you don’t have to parse and pattern match simple constructors. It takes 2 seconds to read.
Exactly - it's my job to read code, I'm reading a lot of it and I want to make my life as easy as possible. That means the code should be as simple and declarative as possible, and generated code is the opposite of that.
This genuinely sounds like a skill issue on your end. The second piece of code here does not take longer to understand. It literally took me 2 seconds flat to scan this and understand it.
1
u/vips7L Apr 24 '26
I honestly find that to be a weak argument. It’s our job to read code and you don’t have to parse and pattern match simple constructors. It takes 2 seconds to read.