@nietras I don't dislike the original code, actually. It shows pretty clearly what the code is going to do: check against null, then fetch count and check against 0. I think "Failures?.Count > 0" is somewhat OK? The mental gymnastics to desugar the null-check is relatively low, but translating the "complex pattern" is just silly.
=> More informations about this toot | View the thread | More toots from sschoener@mastodon.gamedev.place
=> View nietras@mastodon.social profile
text/gemini
This content has been proxied by September (3851b).