News for hackers. Stuff that matters.
Re:.NET 8 Standalone 50% Smaller On Linux by sshine on Saturday November 11, 2023 @09:09AM (#38230399)
I’m not impressed by this design choice.

When order of declaration matters, it ceases to be declarative. “Let there be a function” is instead “make me a function”.

It’s entirely unnecessary, and even JavaScript can let you run a function that gets declared later.

The advantage when order does not matter inside the module is that you can list big things at the top of the file and the smaller things it’s made of below, rather than opposite.

The advantage when order does not matter outside the module system is that you can have mutually recursive modules.

There are no comments on this comment yet.