News for hackers. Stuff that matters.
Re:Ask HN: Why are toggle switches replacing checkboxes? Isn... by saagarjha on Thursday January 19, 2023 @03:55AM (#34438157)
Checkboxes stay winning.
Re:Ask HN: Why are toggle switches replacing checkboxes? Isn... by Existenceblinks on Thursday January 19, 2023 @04:00AM (#34438193)
The latter generally works for sum type states.
Re:Ask HN: Why are toggle switches replacing checkboxes? Isn... by numpad0 on Thursday January 19, 2023 @05:50AM (#34438923)
It's not when desirability of fnurbification negatively correlates to other items, i.e. when following is normal config:

  [X] perform deconbinaturation 
  [X] disable fnurbification 
  [X] enable entrapollation
... in this case there is a reason to make it a "positive-disable".
Re:Ask HN: Why are toggle switches replacing checkboxes? Isn... by ilyt on Thursday January 19, 2023 @08:43AM (#34440143)
Nope, just mark which config is default and add tooltip explaining to user why it might need to be changed.

Aiming for all options to be "on" or "off" is some pedantic nightmare that makes settings harder to navigate

Re:Ask HN: Why are toggle switches replacing checkboxes? Isn... by bentcorner on Thursday January 19, 2023 @09:41AM (#34440753)
> Aiming for all options to be "on" or "off" is some pedantic nightmare that makes settings harder to navigate

This probably stems from config files or in-app defaults where a feature is default-on and so the existence of a value means something is disabled. And then some dev comes along and mindlessly transcribes a bunch of boolean flags into a settings menu and here we are.