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

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 พ.ย. 2024

ความคิดเห็น • 4

  • @aurorans_solis
    @aurorans_solis 9 หลายเดือนก่อน +5

    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.

  • @valshaped
    @valshaped 9 หลายเดือนก่อน +10

    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 9 หลายเดือนก่อน +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.

  • @kelownatechkid
    @kelownatechkid 9 หลายเดือนก่อน +1

    Another great talk. Thank you to Aurorans!