hrefna,
@hrefna@hachyderm.io avatar

I really end up frustrated by both extremes of operator overloading in languages and language cultures.

Both the Java approach of "NEVER OVERLOAD THE OPERATORS" as well as the approach favored in and of NO GODS NO MASTERS OPERATOR OVERLOADING FOR ALL.

jaror,
@jaror@kbin.social avatar

@hrefna what I like about 's "operator overloading" (type classes) is that it is customary to group operators together and give them laws which give them a coherent meaning across all instances. So you can't just abuse + for list concatenation.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KamenRider
  • Ask_kbincafe
  • TheResearchGuardian
  • KbinCafe
  • Socialism
  • oklahoma
  • SuperSentai
  • feritale
  • All magazines