89
you are viewing a single comment's thread
view the rest of the comments
[-] sukhmel@programming.dev 3 points 1 year ago

IIRC monoid also requires you to have zero, so that an initial value is known for any repetitive operation. In case of an array that'd be an empty one, in case of promise that'd be doing nothing, I guess.

this post was submitted on 02 Jul 2023
89 points (93.2% liked)

Programmer Humor

19606 readers
319 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