@jessicard0while I wait for xcode to do an install, I will share a fun fact @carrot taught me about logic gates recently :and:
you only need the NAND gate (AND gate followed by NOT) to do every single possible logic operation ever. that means that every possible logic circuit can be made to use only NAND! in fact, a physical NAND transistor takes up less area than an AND transistor. to make an AND, you’d actually make a NAND and then invert the output.
en.wikipedia.org/wiki/NAND_logic