felix,
@felix@wandering.shop avatar

@amoroso I can offer a concrete example if it helps: in AntiWiki I use a coroutine (technically a Python generator function, same difference) to implement text search across a complex data structure, where you can't just store an index position. You have to pick up again from the same place in the code, stack frames and all, every time the user picks "find next".

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