Automate yourself out of a job with Roslyn - Mark Rendle - NDC Copenhagen 2022

Поделиться
HTML-код
  • Опубликовано: 29 окт 2024

Комментарии • 16

  • @alexclark6777
    @alexclark6777 2 года назад +17

    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.

  • @mahmoudalsayed1138
    @mahmoudalsayed1138 2 года назад +3

    That's was a brilliant lecture!
    Thanks Mark! And many thanks for NDC for putting these great sessions together and sharing them on RUclips!

  • @_a_n_r_i2812
    @_a_n_r_i2812 2 года назад +11

    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!

  • @phizc
    @phizc 2 года назад +3

    From the title I thought this was going to be about source generators. It wasn't, but it was entertaining and informative.

  • @DamnedVik
    @DamnedVik Год назад +2

    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

  • @ivandrofly
    @ivandrofly Год назад

    Previous video ruclips.net/video/_cIVa-RctcA/видео.html

  • @kdakan
    @kdakan Год назад

    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.

  • @ivandrofly
    @ivandrofly Год назад

    Thank you

  • @ruoxuan666
    @ruoxuan666 10 месяцев назад

    Thank you very much, That great!

  • @vamsikrishna4323
    @vamsikrishna4323 Год назад

    Thanks.. it is very helpful video.

  • @ivandrofly
    @ivandrofly Год назад

    Where can we get the source code?

  • @ivandrofly
    @ivandrofly Год назад

    20:34 - Implicitly declared

  • @ivandrofly
    @ivandrofly Год назад

    32:11 - Rewriting Code

  • @ketsuekikumori9145
    @ketsuekikumori9145 2 года назад

    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.

  • @jasminsabanovic869
    @jasminsabanovic869 Год назад

    14-05