Comment

Comment by MatthewPhillips

That's not equivalent code, it doesn't execute itself.

That it simply returns a string with no logic and therefore can be written slightly simpler belays the point I was making. You simply don't see this type of code being used much in C# because it isn't idiomatic, yet it exists to mark off a checkbox.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton