• golang Profile Picture

    Go @golang

    7 years ago

    🎊 We just announced an update for Go 2! This includes preliminary draft designs for generics, error handling, and error values. Read our blog and watch the video by @_rsc for more information. buff.ly/2okToPb

    33 1K 2K 0 23
  • juxhindb Profile Picture

    Juxhin 🇦🇱 🇲🇹 @juxhindb

    7 years ago

    @golang @_rsc Nice! While the `handle err {}` block is interesting, will this have to always be defined within a local scope? What if I don't _know/think_ any errors will be returned in a code block but are. Can they be handled anyway by some default/top-level `handle err {}` block?

    0 0 0 0 0
  • aojajena Profile Picture

    Vas Mylko @aojajena

    7 years ago

    @golang @_rsc generics? end of go

    1 0 8 0 0
  • fubarhouse Profile Picture

    Karl @fubarhouse

    7 years ago

    @golang @_rsc I must admit I’ve been against the idea of Generics in Go for some time, but I do like the proposed idea of an explicit contract definition. Very elegant and appreciated.

    1 1 5 0 0
  • 0xb1ns Profile Picture

    Sebastien Binet - @[email protected] @0xb1ns

    7 years ago

    @golang @_rsc Great! Still going through the drafts but I realized that to completely "grok" them, I might have to try to implement or, better, modify a few of my libraries to see what it entails, what are the pain points, confusing area and what not. How should I proceed?

    0 0 5 0 0
  • umurgdk Profile Picture

    Umur Gedik @umurgdk

    7 years ago

    @golang @_rsc Why the contracts. We have interfaces which they are contracts already.

    1 0 5 0 0
  • lucperkins Profile Picture

    Luc Perkins @lucperkins

    7 years ago

    @golang @_rsc Praise be

    0 0 4 0 0
  • Asdine_ Profile Picture

    Asdine El Hrychy @Asdine_

    7 years ago

    @golang @_rsc The handle keyword feels the same as what I dislike when using exceptions in other languages, having the error handling decoupled from the actions that provoked the error; even if it's within the same function, it feels weird

    0 0 2 0 1
  • googollee Profile Picture

    Googol | @[email protected] @googollee

    7 years ago

    @golang @_rsc As io.Reader Read() may return a non-zero int and a non-nil error at the same time, how to use check/handle with Read()? Or is that means Read() should return 0 when err != nil?

    0 0 2 0 0
  • bay3gi Profile Picture

    Bay3gi @bay3gi

    7 years ago

    @golang @_rsc Awesome. I was worried Go was getting too fast. But with generics, now Im not worried anymore

    1 0 2 0 0
  • johann_sonntag Profile Picture

    Johann Hubert Sonntagbauer @johann_sonntag

    7 years ago

    @golang @_rsc come on, the first thing I have learned in programming is that go2 is evil and should be avoided at all cost

    0 0 2 0 0
  • Ryan29854769 Profile Picture

    Ryan @Ryan29854769

    7 years ago

    @golang @_rsc Future of Go 10 : [ [ [ ] ] ] func ( ) ( ) ( ) fn( a ) ( b ) ( c ) ( d ) ( ) ( ) ( ) (string, error) {} add more brackets as you want. and function fn can do everything.

    0 0 1 0 0
  • MiaJones0090 Profile Picture

    Mia Jones @MiaJones0090

    5 years ago

    @golang @_rsc Very true that Go 2 is the most capable for error handling. Remembering my Go project on this #error handling tweet. Can't forget Go’s way of handling errors @golang @golang_news @golangweekly bacancytechnology.com/blog/golang-er…

    0 0 1 0 0
  • pttrn Profile Picture

    Vladimir Mitrović @pttrn

    7 years ago

    @golang @sale87 U 2018. su shvatili sa im ipak trebaju generics... iznerviram se kad god pomislim na zadrte ljude koji su govorili “ali zapravo ti ne trebaju”, ne matori, trebaju mi

    1 0 1 0 0
  • q_hibernator Profile Picture

    QHibernator @q_hibernator

    7 years ago

    @golang @_rsc With generics, it's time for some decent std collection structures for golang

    0 0 1 0 0
  • swnblin Profile Picture

    zgy @swnblin

    7 years ago

    @golang @_rsc 🎉🎉🎉🎉🎉

    0 0 0 0 0
  • sadyskies_chan Profile Picture

    chan @sadyskies_chan

    7 years ago

    @golang @_rsc TarsGo: A high performance microservice framework in golang: medium.com/@sandyskiescha…

    0 0 0 0 0
  • meta1000x Profile Picture

    Gem Hunter @meta1000x

    7 years ago

    @golang @_rsc Opencrypter loves go

    0 0 0 0 0
  • newresa Profile Picture

    Newres Al Haider @newresa

    7 years ago

    @golang @_rsc Contracts are the most interesting part of the announcement to me. It seems they intend to check the contracts at compile time, by limiting the language features allowed in them. Given the emphasis on fast compilation in Go I am curious about their solution.

    0 0 0 0 0
  • jack_tuck Profile Picture

    jt @jack_tuck

    7 years ago

    @golang @_rsc

    0 0 0 0 0
    Download Gif
  • koblas Profile Picture

    david koblas @koblas

    7 years ago

    @golang @_rsc Can you have multiple handle blocks in a function, since you might have multiple error types? func doWidget() { handle err {...} handle package.MagicError {...} handle int {...} ...real code... }

    1 0 0 0 0
  • b00layan Profile Picture

    Boolayan @b00layan

    7 years ago

    @golang @_rsc Great news for today! \o/

    0 0 0 0 0
  • cam_stuart Profile Picture

    Cam Stuart @cam_stuart

    7 years ago

    @golang @_rsc I never understood generics, let alone the need for them. I hope Go can apply some pragmatism here and keep it simple

    1 0 0 0 0
  • dullboy Profile Picture

    G @dullboy

    7 years ago

    @golang @_rsc The error handling example here is horrible: go.googlesource.com/proposal/+/mas… if you write the right error messages the problem of repetition disappears.

    0 0 0 0 0
  • dachte Profile Picture

    Improv @dachte

    7 years ago

    @golang @kelseyhightower @_rsc It's time to finally fix that no-semicolons thing

    0 0 0 0 0
  • NomadDeveloper Profile Picture

    Gary Willoughby @NomadDeveloper

    7 years ago

    @golang @_rsc Holy shit! Generics is finally happening!!! 😊

    0 0 0 0 0
  • Download Image
    • Privacy
    • Term and Conditions
    • About
    • Contact Us
    • TwStalker is not affiliated with X™. All Rights Reserved. 2024 instalker.org

    twitter web viewer x profile viewer bayigram.com instagram takipçi satın al instagram takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al sosyalgram takipçi satın al instagram ücretsiz takipçi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al metin2 metin2 wiki metin2 ep metin2 dragon coins metin2 forum metin2 board popigram instagram takipçi satın al takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al buyfans buy instagram followers buy instagram likes buy instagram views buy tiktok followers buy tiktok likes buy tiktok views buy twitter followers buy telegram members Buy Youtube Subscribers Buy Youtube Views Buy Youtube Likes forstalk postegro web postegro x profile viewer