this post was submitted on 17 Jun 2023
148 points (96.8% liked)

Programmer Humor

19243 readers
1626 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

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ndotb@programming.dev 8 points 1 year ago* (last edited 1 year ago) (3 children)

Was it (2*b | ! 2*b) or (2*b || ! 2*b) ? It's been a while since I read his book

[–] spi@programming.dev 2 points 1 year ago (2 children)
[–] msage@programming.dev 2 points 1 year ago

It's a binary 'or' operator.

[–] ndotb@programming.dev 2 points 1 year ago

It's a logical or in some languages like cobol that were actively used during the early 17th century