nobodyinperson,
@nobodyinperson@fosstodon.org avatar

Can we please have an alias 'but' for the 'and' binary operator in programming languages?

if outside and moving_slowly ⇒ if outside but moving_slowly
if online and not connected ⇒ if online but not connected

Such semantics made :perl: a bliss to write in some cases (if not ⇒ unless), although Perl doesn't have this 'but' alias. Probably can change itself at runtime to add this alias 😅

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