Re: [csswg-drafts] [css-values-5] What is the MVP for inline conditionals on custom properties? (#10064)

@dead-claudia I completely agree - but if I *had* to pick one, I wouldn't pick ternaries, because nesting them gets really confusing, really fast. There are good reasons why nested ternaries are frowned upon in other languages. If that's the only choice, confusing code and frowny faces is what we'll get. 

I'd rather have high verbosity readable code than low verbosity unreadable code.

Unreadable code leads to bugs - verbosity only hurts developer sensitivities. 🙂

-- 
GitHub Notification of comment by mindplay-dk
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10064#issuecomment-2255239587 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 29 July 2024 07:47:31 UTC