Golang’s Exiciting Future! | 1.24 | json/v2 | Unions | Opaque Protobuf API

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ม.ค. 2025

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

  • @esra_erimez
    @esra_erimez 19 วันที่ผ่านมา +24

    As a recovering C++ developer, I *love* Go's error handling. I do not think it is broken and therefore needs no fixing.

    • @cheesed_up
      @cheesed_up  19 วันที่ผ่านมา +4

      Word!

    • @biskitpagla
      @biskitpagla 11 วันที่ผ่านมา

      same here man

    • @marcoceriani1069
      @marcoceriani1069 11 วันที่ผ่านมา

      catch (const std::exception& ex) { // log the error }
      catch (const lib1::exception& ex) { // log the error }
      catch (const otherlib::error e) { // log the error }
      catch (...) { std::cerr

  • @yannick5099
    @yannick5099 18 วันที่ผ่านมา +2

    The error handling in Go is fine I think. Some syntactic sugar may be nice, but not needed and makes the language slightly more complicated. Unions are still useful for many other cases though.
    What I would really like is to get away from runtime reflection and make compile time reflection the norm. Performance is really an important topic in more and more projects. Go generate is basically that but inside the tooling instead of the language itself. The tool directive shows they want to keep going into that direction. Fine for me.
    The rework of the JSON API is interesting. More performance and better behavior is great. Protobuf changes look good too, even though I haven't used it yet.

  • @fn3xus
    @fn3xus 19 วันที่ผ่านมา

    Glorious evolution!

  • @comfortcove
    @comfortcove 18 วันที่ผ่านมา

    Great video, subbed

  • @esra_erimez
    @esra_erimez 19 วันที่ผ่านมา +3

    Subbed

  • @jacobzimmerman3492
    @jacobzimmerman3492 11 วันที่ผ่านมา

    btw did you notice gopls finally has type inference for generics

  • @Nick-yd3rc
    @Nick-yd3rc 18 วันที่ผ่านมา

    I wish json were more performant, it’s not hard to improve substantially. There’s a workaround for every deficiency in stdlib through a third-party package. But having stdlib on par with them out of the box in a consistent way would be really welcome.

  • @ringthane69
    @ringthane69 19 วันที่ผ่านมา +2

    Subbed... thank you! (get better, kids!)

  • @Anonymususerbameg
    @Anonymususerbameg 19 วันที่ผ่านมา +1

    watch?v=s7WNFzm3vjo