this post was submitted on 14 May 2024
308 points (90.7% liked)
Programmer Humor
32692 readers
388 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
bool_
via Numpy is its own object, and it's fundamentally different frombool
in Python (which is itself a subclass ofint
, whereasbool_
is not).They are used similarly, but they're similar in the same way a fork and a spork can both be used to eat spaghetti.
And do you eat that spaghetti out of a bool?
Class SpaghettiBool:
sure, why not.
(I'm too lazy to do a proper Protocol)
No i write some spaghetti with a lot of bools