

yeah it’s an interesting case that an int can be treated as a float. I should probably update my post to mention that it’s not strictly a supertype but a special exception mentioned in python’s typehinting pep: https://peps.python.org/pep-0484/#the-numeric-tower


I absolutely call them vegetables. It’s a kitchen term and it absolutely makes sense to categorise them alongside tomatoes, beans, carrots, squash and cabbage. People get too hung up on things only belonging to exactly one category.