Re:How Microsoft rewrote its C# compiler in C# and made it o...
by tasogare on Tuesday February 11, 2020 @12:40PM
(#22300494)
I looked at bit when I was in preview. It’s indeed powerful but also quite verbose and it distinguish between a lot of concepts, so there is a steep learning curve. Then there was the lack of examples beyond a few blog posts.
[ Parent
| on HN ]
Re:How Microsoft rewrote its C# compiler in C# and made it o...
by moron4hire on Tuesday February 11, 2020 @01:26PM
(#22301030)
Oh man, the verbosity thing was a huge problem until C# got "using static". Any static classes that just hold static methods can be imported into your code module as bare functions. I frequently do "using static System.Math;" and "using static System.Console;" when tossing together little mathy processor apps.
Re:How Microsoft rewrote its C# compiler in C# and made it o...
by Ididntdothis on Tuesday February 11, 2020 @12:44PM
(#22300531)
Agreed. I have a few ideas and it would be nice to see more examples. Right now it’s hard to make sense of things without spending a lot of time on it.