Re:When are enums not a code smell?
by bena on Monday November 22, 2021 @09:15AM
(#29306484)
I'd never heard of the phrase "frog in a well" before. I like it, I don't think I ever had a term for that phenomenon before.
[ Parent
| on HN ]
Re:When are enums not a code smell?
by marcosdumay on Monday November 22, 2021 @09:32AM
(#29306665)
It's a reference to a story about a group of frogs that adapt to living a hellish life in a well, and when given the means to escape decide to destroy it instead of escaping.
The story itself seems to be ancient, but I couldn't find where it originates from.
I think it is originally from China, I see it a lot in Chinese stories and never seen it anywhere else (except here now).
Re:When are enums not a code smell?
by marcosdumay on Monday November 22, 2021 @11:01AM
(#29307828)
Hum... I know it from Portuguese literature.
I was able to find some references from ancient India, but nothing about it coming from there.
"Kupa manduka is a Sanskrit phrase for the frog in the well that imagines the well, its home, to be the whole world and, therefore, becomes pompous. It is a term of derision for the intellectually complacent, for someone who thinks he knows everything there is to know."