4 ms·
Two functions applied on input (Trim and ToLower in C#) solve all the examples you listed and any similar cases. Yes and no are obviously very different from tr
by tasogare 6y ago
Two functions applied on input (Trim and ToLower in C#) solve all the examples you listed and any similar cases. Yes and no are obviously very different from true and false.
- adrianmsmith 6y ago> Yes and no are obviously very different from true and false. The text-based language YAML allows “yes” and “no” for Boolean in addition to “true” and “false”. So if multiple bright people think about this topic they’ll evidently come up with different approaches. Not so with a single bit.
- kd5bjo 6y agoNon-native English speakers also exist. Around here, it’s not uncommon to see “S” for true and “Ó” for false.