RustConf 2023 - Anything you can do, I can do worse with macro_rules!

Поділитися
Вставка

КОМЕНТАРІ • 4

  • @valshaped
    @valshaped 4 місяці тому +9

    Awesome talk! I've been using declarative macros (#![feature(decl_macro)] rather than macro_rules!, because I prefer the syntax and semantics) in my unit tests, and I absolutely adore them. I'll be sure to put some of these techniques to use!

  • @RootsterAnon
    @RootsterAnon 3 місяці тому +3

    I was shooketh when I hover over my macro and didn't see any lsp info about params but then I just used rustdoc with /// or /** and documented things myself and now I can see stuff for user to have examples of usage and simple instructions. Great talk, I followed it by coding and it was a great practice.

  • @aurorans_solis
    @aurorans_solis 3 місяці тому +2

    Please check the repository for this! I have just had to issue a correction on one of the points made in the talk. Hopefully that'll be the only one, but we'll see.

  • @kelownatechkid
    @kelownatechkid 3 місяці тому +1

    Another great talk. Thank you to Aurorans!