News for hackers. Stuff that matters.
Re:I am disappointed by dynamic typing by bob1029 on Tuesday November 29, 2022 @01:29PM (#33791270)
See also - Source Generators, which can replace some forms of reflection.

https://learn.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/s...

Re:I am disappointed by dynamic typing by int_19h on Tuesday November 29, 2022 @11:09PM (#33796917)
A big reason why this kind of stuff doesn't quickly become unreadable in C# is that the output of a source generator must be a new file. So the ability to extend existing code is limited to the facilities that the language specifically provides for this purpose (partial classes & members, extension methods etc). It also means that tooling can treat all such generated code as virtual files, allowing them to be inspected, debugged etc.