My guess to why there’s two functions is because it was originally only internal
, and the programmer realized they needed public
as well, but changing internal
to public
is too scary so they created a new method instead.
That does sound scary on general principles
"We need to obfuscate our code to prevent reverse engineering"
The obfuscation in question:
But how do you test for FILE_NOT_FOUND
?
!NOT
Who's there?
!!Naughty Knots
Where are the unit tests?
Thanks I hate it
this post was submitted on 28 Oct 2024
490 points (100.0% liked)
Programming Humor
2593 readers
8 users here now
Related Communities !programmerhumor@lemmy.ml !programmer_humor@programming.dev !programmerhumor@kbin.social !programming_horror@programming.dev
Other Programming Communities !programming@beehaw.org !programming@programming.dev !programming@lemmy.ml !programming@kbin.social !learn_programming@programming.dev !functional_programming@programming.dev !embedded_prog@lemmy.ml
founded 1 year ago
MODERATORS