`internal` is `public` in Java, but they mangle th...
# announcements
k
internal
is
public
in Java, but they mangle the name in bytecode so it's not that bad. Nobody will look at that method name and want to call it.
r
Am I correct in assuming that the name mangling also makes things uncallable from Java? (i.e. it adds characters allowed by the JVM but not Java)
d
they are callable
at least according to intellij
r
Ah, lame
k
they can be called, yeah. Maybe they should be adding hyphens or something
I don't think it's that big of a deal. If a user wants to call your methods that badly, they can use reflection and hit even
private
members
s
Meh, I am used to python's approach to "private members" anyway ¯\_(ツ)_/¯
"we are all consenting adults here" is the motto that is invoked I think.
r
Does that mean anyone under 18 isn't allowed to use Python? 🤔
🙂 1
s
It would go a long way towards preventing kids from getting hooked on dynamic types
Talk to your children about programming, before someone else does
😆 4