doskel,
@doskel@mst.doskel.net avatar

why write lisp when you can abuse python

tek_dmn,
@tek_dmn@mastodon.tekdmn.me avatar

@doskel

if ([ x, y, ... z] not in i)

Yes, python pulled a JavaScript and if you give it a <list> not in <list> it actually checks each item individually instead of treating it like a sublist.

tek_dmn,
@tek_dmn@mastodon.tekdmn.me avatar

@doskel this is why I like Ruff as my linter. It'll generate all sorts of warnings for Python language features that you'd never think to use unless you saw them, and once you use them you ask why Python even exists. 😆

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