dusnm,
@dusnm@fosstodon.org avatar

People complain too much about error handling in . Like it or not, go treats errors like any other value. Since the compiler forces you to use all return values of functions, unless you specifically discard the error, you're always aware of which functions can error and that goes a long way to improve the reliability of your software.

Java has checked exceptions, JavaScript trusts you to know that a function 20 slots down the call stack has an unhandled error.

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