• 0 Posts
  • 61 Comments
Joined 2 years ago
cake
Cake day: June 27th, 2023

help-circle

  • No, that’s wrong.

    The “less than” vs “fewer than” rule isn’t about whether you know the exact number - it’s about countable vs uncountable nouns.

    Video game copies are countable, so it’s traditionally “fewer than 1,000 units” regardless of whether you know the precise number sold.

    That said, it’s been misused so much that it’s become more flexible, and “less than” with numbers is widely accepted now.

    Don’t take my word for it, Google it.




  • The 8-bit Intel 8051 family provides a dedicated bit-addressable memory space (addresses 20h-2Fh in internal RAM), giving 128 directly addressable bits. Used them for years. I’d imagine many microcontrollers have bit-width variables.

    bit myFlag = 0;

    Or even return from a function:

    bit isValidInput(unsigned char input) { // Returns true (1) if input is valid, false (0) otherwise return (input >= '0' && input <= '9'); }