nixCraft , to Random stuff
@nixCraft@mastodon.social avatar

why does counting start at zero in programming? wrong answers only.

shaedrich ,
@shaedrich@mastodon.online avatar

@nixCraft In the implementation, they wanted to write x[y][z] but autocomplete changed it to x[y][zero], which CF then interpreted as a literal 0 and here we are

  • All
  • Subscribed
  • Moderated
  • Favorites
  • supersentai
  • WatchParties
  • Rutgers
  • steinbach
  • Lexington
  • cragsand
  • mead
  • RetroGamingNetwork
  • mauerstrassenwetten
  • loren
  • xyz
  • PowerRangers
  • AnarchoCapitalism
  • kamenrider
  • Mordhau
  • itdept
  • neondivide
  • space_engine
  • AgeRegression
  • WarhammerFantasy
  • Teensy
  • learnviet
  • bjj
  • khanate
  • electropalaeography
  • MidnightClan
  • jeremy
  • fandic
  • All magazines