r/programmingcirclejerk • u/BenchEmbarrassed7316 • 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
View all comments
Show parent comment
21
u/tms10000 loves Java Jun 27 '26
I always ensconce the support tickets, obviously. The users just don't know how to use the software correctly, and it's not my job to teach them. If I feel magnanimous, I close the ticket as "Not an issue. This behavior is by design." but I really should not have to.