this post was submitted on 17 Aug 2025
251 points (99.6% liked)

Programmer Humor

25755 readers
1429 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 2 years ago
MODERATORS
 
top 25 comments
sorted by: hot top controversial new old
[–] Aurenkin@sh.itjust.works 15 points 2 hours ago

Priest: If you are not yet baptised, I baptise you in the name of the father, the son and the holy spirit. Else break.

Parents: *sweating nervously*...else what

[–] Lemminary@lemmy.world 13 points 4 hours ago
[–] theneverfox@pawb.social 35 points 6 hours ago (4 children)

Baptism is such a weird thing. It's ritualized cleansing turned into one and done

You can get baptized as many times as you like, it doesn't stack

[–] Tanoh@lemmy.world 15 points 5 hours ago

Baptism is such a weird thing.

I think Haskell is such a weird thing

[–] CanadaPlus@lemmy.sdf.org 28 points 6 hours ago* (last edited 5 hours ago) (1 children)

Per the actual wiki, some denominations seem to think it's a sin or heresy to do someone more than once. Which seems like what the nullification in the baptize function is supposed to capture.

[–] Viking_Hippie@lemmy.dbzer0.com 5 points 4 hours ago

some denominations seem to think it's a sin or heresy to do someone more than once

Those denominations must have really high divorce rates..

[–] Gork@sopuli.xyz 19 points 6 hours ago (1 children)

Could you imagine how op you could become though if baptisms stacked

[–] theneverfox@pawb.social 4 points 5 hours ago (4 children)

Can you get more clean than clean?

Numbers are a human thing. The universe don't care

[–] _stranger_@lemmy.world 10 points 4 hours ago

I imagine if baptisms stacked, you could pile on a gazillion of them like ablative armor against incoming sin.

[–] vithigar@lemmy.ca 3 points 3 hours ago

Conceptual numeracy is a human thing. The universe absolutely cares about quantifiable physical properties which we represent as numbers.

[–] Gutek8134@lemmy.world 4 points 4 hours ago (1 children)

I think erasing one's body could make you more clean than clean

[–] Viking_Hippie@lemmy.dbzer0.com 3 points 4 hours ago (1 children)

So what you're saying is that fundies need to be cremated? Possibly AFTER death from other causes?

[–] FuglyDuck@lemmy.world 3 points 3 hours ago

no no. they need to switch to Flouroantimonic acid instead of just flowing water.

[–] Viking_Hippie@lemmy.dbzer0.com 1 points 4 hours ago

Numbers are a human thing. The universe don't care

Doubly so with religion, though 🤷

[–] MrQuallzin@lemmy.world 7 points 6 hours ago (1 children)

The LDS (Mormons) actually do repeat it, in a sense. Their weekly sacrament is a renewal of their baptismal blessings

[–] Mouselemming@sh.itjust.works 5 points 4 hours ago

Probably the reason some other sects call double-dipping a sin, so as to not be like those Mormons.

[–] Gork@sopuli.xyz 41 points 6 hours ago

This is a slippery slope to baptismal logic gates

[–] TheReturnOfPEB@reddthat.com 1 points 2 hours ago* (last edited 2 hours ago)

How would this read try-catch-ing with the Mormon baptism for dead Jewish people ?

[–] CanadaPlus@lemmy.sdf.org 7 points 6 hours ago* (last edited 5 hours ago) (1 children)

That honestly seems like the best way to write conditionalBaptize but I still hate it. Probably because IRL you'd just rewrite baptism instead of retrofitting the function with a clever use of id.

[–] solrize@lemmy.ml 6 points 5 hours ago* (last edited 5 hours ago) (1 children)

This is probably an ok use for a GADT. Something like:

{-# LANGUAGE DataKinds      #-}
{-# LANGUAGE GADTs          #-}
{-# LANGUAGE KindSignatures #-}

data Bap = Baptized | Unbaptized

data Person :: Bap -> * where
   Baptize :: Person Unbaptized -> Person Baptized
   NewPerson :: Person Unbaptized

conditionalBaptize :: Person a -> Person Baptized
conditionalBaptize p =
    case p of NewPerson -> Baptize p
              Baptize _ -> p

main = return ()
[–] KazuchijouNo@lemy.lol 6 points 4 hours ago (1 children)

Thank you for refactoring baptism. How do we push this to production now?

[–] Stizzah@lemmygrad.ml 2 points 4 hours ago

Hey hey hey, let's start with a PR, we are not savages here aren't we?

[–] thanks_shakey_snake@lemmy.ca 5 points 5 hours ago

Which denominations implement idempotent baptisms?

[–] fubarx@lemmy.world 2 points 5 hours ago (1 children)

Sounds like Haskell needs an official Saint.

[–] solrize@lemmy.ml 2 points 3 hours ago

There's an old joke about functional programming separating Church from state.