this post was submitted on 18 Oct 2025
        
      
      783 points (99.2% liked)
      Programmer Humor
    27113 readers
  
      
      1007 users here now
      Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
        founded 2 years ago
      
      MODERATORS
      
    you are viewing a single comment's thread
view the rest of the comments
    view the rest of the comments
 
          
          
The comment you replied to is my response to this. It's the only boolean operation that works this way. All the others are straightforward.
I think the problem is that you're thinking in terms of boolean algebra, while implication being implication comes from propositional logic.
That's interesting. I'll have to read up on that. You're right, I am thinking about boolean algebra.
In the mean time though, I'll note that Boolean algebra on Wikipedia also refers to this operation, so I'm not alone:
It also uses the second interpretation that I mentioned in my earlier comment (4 above this one), with
truebeing default, rather than the one we've been discussing.