winni,

When you mostly work in and experience its amazing build times, you die a little bit inside everytime you see the compile summary stating that it took 4 minutes to finish.

jmsdnns,
@jmsdnns@mastodon.social avatar

@winni not as badly as when hackers have to write if err != nil a godzillion times

corpsmoderne,
@corpsmoderne@mamot.fr avatar

@jmsdnns @winni is this a joke I'm not getting? because err != nil is a Go thing not a Rust thing...

dedsyn4ps3,
@dedsyn4ps3@fosstodon.org avatar

@corpsmoderne @jmsdnns @winni aaannd of course you can always abstract the error check into a function which you can call instead of typing that out each time 🙃 :golang:

func checkError(err error) {
if err != nil {
fmt.Println("An error occurred:", err)
}
}

jmsdnns,
@jmsdnns@mastodon.social avatar

@dedsyn4ps3 @corpsmoderne @winni my point is that go makes rust hackers go mad with such careless error handling

dedsyn4ps3,
@dedsyn4ps3@fosstodon.org avatar

@jmsdnns @corpsmoderne ahh gotcha. So your point of view is that the error handling used in Go is careless?

I'm curious what makes it so. I personally thought it to be nice having a language that stresses at least checking for returned errors more thoughtfully than in other languages.

Now of course, Rust tends to take things a step farther, but I wouldn't say that makes Go careless by any means...

  • All
  • Subscribed
  • Moderated
  • Favorites
  • rust
  • DreamBathrooms
  • mdbf
  • osvaldo12
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • cubers
  • slotface
  • khanakhh
  • kavyap
  • InstantRegret
  • Durango
  • JUstTest
  • everett
  • ethstaker
  • cisconetworking
  • provamag3
  • Leos
  • modclub
  • ngwrru68w68
  • tacticalgear
  • tester
  • megavids
  • normalnudes
  • anitta
  • lostlight
  • All magazines