Thank you for this great presentation. It would be greater if you ask the presenter to publish the source code. We want to try them out. Thank you. Unfortunately none of your presentations has source code!
Not a C# programmer, so don't know why I watched this presentation, but at my job we something very similar in Java - we need to validate some data-classes, but validation requires that we add correct annotations to each field inside the class. To enforce this, we wrote a few compile-time checks that will analyze each field of the class during compilation, and check that each field has at least one annotation from a set of per-determined annotations. If it doesn't, the compilation will fail with a message that this field is missing validation annotations
I like compiler technologies, but this will probably not be in my toolset. I do code generation by building code with strings and that is usually covers enough land for me. Also this way I can geneerate code for C#, javascript, etc. and I'm not ties to a tech stack.
Mark: I don't really understand what Microsoft.Build.Locator does. I just know it exposes one method and you need to call that method first. Pretty much sums up learning programming.
I'm writing a C# Roslyn analyzer that checks your solution for any use of the goto keyword, and advises you to go back to writing VB if it finds any.
🤣
That's was a brilliant lecture!
Thanks Mark! And many thanks for NDC for putting these great sessions together and sharing them on RUclips!
Thank you for this great presentation. It would be greater if you ask the presenter to publish the source code. We want to try them out. Thank you.
Unfortunately none of your presentations has source code!
From the title I thought this was going to be about source generators. It wasn't, but it was entertaining and informative.
Not a C# programmer, so don't know why I watched this presentation, but at my job we something very similar in Java - we need to validate some data-classes, but validation requires that we add correct annotations to each field inside the class.
To enforce this, we wrote a few compile-time checks that will analyze each field of the class during compilation, and check that each field has at least one annotation from a set of per-determined annotations. If it doesn't, the compilation will fail with a message that this field is missing validation annotations
Previous video ruclips.net/video/_cIVa-RctcA/видео.html
I like compiler technologies, but this will probably not be in my toolset. I do code generation by building code with strings and that is usually covers enough land for me. Also this way I can geneerate code for C#, javascript, etc. and I'm not ties to a tech stack.
Thank you
Thank you very much, That great!
Thanks.. it is very helpful video.
Where can we get the source code?
20:34 - Implicitly declared
32:11 - Rewriting Code
Mark: I don't really understand what Microsoft.Build.Locator does. I just know it exposes one method and you need to call that method first.
Pretty much sums up learning programming.
14-05