this post was submitted on 28 Oct 2024
504 points (98.3% liked)

Programming Humor

2615 readers
12 users here now

Related Communities [email protected] [email protected] [email protected] [email protected]

Other Programming Communities [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 18 points 1 week ago (1 children)

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.

[–] [email protected] 1 points 1 week ago

That does sound scary on general principles