Toot

Written by Sebastian Schöner on 2024-11-27 at 10:42

@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

Mentions

=> View nietras@mastodon.social profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113554500409801348
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
218.52059 milliseconds
Gemini-to-HTML Time
0.532968 milliseconds

This content has been proxied by September (3851b).