Rewriting freezed with Macros | Observable Flutter #47

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ส.ค. 2024
  • Watch as Craig Labenz and Rémi Rousselet discuss Rémi's experience rewriting his infamous data class package, `freezed`, with Macros.
    The latest from Flutter → goo.gle/flutter-latest
    Watch more Observable Flutter → goo.gle/ObservableFlutter
    Subscribe to Flutter → goo.gle/FlutterYT
    #ObservableFlutter #Flutter
    Speaker: Craig Labenz
    Products Mentioned: Flutter
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @notarealperson9709
    @notarealperson9709 25 วันที่ผ่านมา +7

    Any talk with Rémi Rousselet is worth a watch, thank you!

  • @gregsullivan7408
    @gregsullivan7408 24 วันที่ผ่านมา +3

    Thanks for the curated/edited closed captioning - much appreciated

  • @philosophia5577
    @philosophia5577 24 วันที่ผ่านมา +1

    It was soo fun to watch and code along!! Thanks Craig and Remi!!!

  • @dev.arrahman
    @dev.arrahman 25 วันที่ผ่านมา +4

    Rémi Rousselet is Genius man❤

  • @trupalcanada
    @trupalcanada 25 วันที่ผ่านมา +8

    Your t-shirt has a keyed out flutter logo.

    • @ardanilyas8125
      @ardanilyas8125 25 วันที่ผ่านมา +1

      What? Is He a Terminator😅

  • @reidosreis4k
    @reidosreis4k 25 วันที่ผ่านมา +2

    Great video 💪

  • @kishandhankecha
    @kishandhankecha 25 วันที่ผ่านมา

    Such a great content here on Observable series!! Thanks for that.
    Could you increase the video quality? It looks like watching a 720p video even when watching at 1080p.

  • @manishgautam2424
    @manishgautam2424 13 วันที่ผ่านมา

    i need help , i just want to know how can we set global configuration for macro. is that from analysis_options yaml or any other logic , consider we have a macro package for Equatable , here we want EquatableConfig stringify to a bool that is non-final at analysis time as well as runtime is there any way to assign Such Global config

  • @ybbond_
    @ybbond_ 5 วันที่ผ่านมา

    "please, give a forecast when the macros will be in the stable"
    "29:08 sadly the forecast that I can give is that there is no forecast."
    but I can live with one of the reason that Devtools not hooked in yet

  • @uris77
    @uris77 22 วันที่ผ่านมา +1

    I'm afraid there is too much emphasis on macros and that people will start writing macros for things where it isn't a good fit. Debugging errors originiating from inside macros have been a pain in other languages, and I can only imagine the confusing errors we will start getting when people start using macros. Most of the discussions seems to be on `writing` but very little has been said about how troubleshooting, debugging and errors would look.

    • @pattobrien5228
      @pattobrien5228 13 วันที่ผ่านมา

      did you not see the part of the talk on diagnostics? IMO diagnostics / exception throwing is one of the best things that Dart's macros got right (for now, at least). you can throw exceptions not just on the macro, but on the given arguments of the macro, the class or method its applied to, or really any code that may better explain the issue to a developer.
      Tbh I would wait to see what the macros implementation looks like before worrying about it being an overused feature.

  • @abhaypatil8478
    @abhaypatil8478 25 วันที่ผ่านมา +1

    Hello Flutter

  • @user-qz3nx4xy8c
    @user-qz3nx4xy8c 15 วันที่ผ่านมา

    Will Riverpod change?

  • @krtirtho
    @krtirtho 24 วันที่ผ่านมา

    We'll actually get working (usable because of the speed) function widgets instead of class based widgets

  • @krtirtho
    @krtirtho 24 วันที่ผ่านมา

    Can't get behind the fact that the dart team named the class property *clazz* because class is a reserved word lol😂

  • @techplanet001
    @techplanet001 25 วันที่ผ่านมา

    😮

  • @TekExplorer
    @TekExplorer 25 วันที่ผ่านมา +1

    "something no language has ever done" uhh... Rust macros? So so many languages that have macros?
    I think augmentstiond are possible different

    • @gorudonu
      @gorudonu 25 วันที่ผ่านมา +2

      I think Craig meant that dart's macros are generated "on fly" while in other languages (like in Rust) they're done at compile time

    • @alenpaulvarghese
      @alenpaulvarghese 24 วันที่ผ่านมา

      darts macro are generated on the fly by the dart analyser server afaik. rust also does that

    • @noelgomile3675
      @noelgomile3675 24 วันที่ผ่านมา

      ​@@gorudonu I concur, they weren't specific on that point but that's definitely what they meant since other languages with macros exist. With Dart you will be getting feedback in real-time when you are using the macro feature which is quite unique in of itself.

  • @MrVipulLal
    @MrVipulLal 2 วันที่ผ่านมา

    Why such a dry and long drawn presentation? Just give some examples!