savedbythezsh,

In a world where your IDE and maybe also compiler should warn you about using unicode literals in source code, that’s not much of a concern.

VSCode (and I’m sure other modern IDEs, but haven’t tested) will call out if you’re using a Unicode char that could be confused with a source code symbol (e.g. i and ℹ️, which renders in some fonts as a styled lowercase i without color). I’m sure it does the same on the long equals sign.

Any compiler will complain (usually these days with a decent error message) if someone somehow accidentally inserts an invalid Unicode character instead of typing ==.

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