• FlumPHP@programming.dev
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      6
      ·
      2 years ago

      Your comment makes no sense given the details provided in the article. The toggle runs a gender-based sort on available passengers when a driver indicates they’re ready to pick up a new passenger.

      • Male driver, without this toggle, indicates they’re ready for a passenger? All waiting passengers are sorted by current algorithms.
      • Female+ driver, with this toggle off, indicates they’re ready for a passenger? All waiting passengers are sorted by current algorithms.
      • Female+ driver, with this toggle on, indicates they’re ready for a passenger? All waiting passengers are sorted by gender then current algorithms.

      At no point does the pool of available passengers for male drivers decrease.