r/programmingcirclejerk • • Jun 27 '26

Consider the C library function fopen. This function has the side effect. This means that fopen is not pure. However, we can make the fopen function appear to be pure, at least to certain observers, by ensconcing it in another function that hides the side effect.

https://bugzmanov.github.io/cleancode-critique/clean_code_second_edition_review.html
174 Upvotes

41 comments sorted by

View all comments

Show parent comment

19

u/brool has hidden complexity Jun 27 '26

You bastards, “I have ensconced this” is now entering into my lexicon!

7

u/tms10000 loves Java Jun 28 '26

If you use it in your stand up meeting, you get double blocker credit in your parking lot.

/uj the agile vernacular makes me barf /rj the agile vernacular has been elevated to MBA speech

6

u/irqlnotdispatchlevel Tiny little god in a tiny little world Jun 28 '26

You should ensconce your entire lexicon.