Hacker News new | ask | show | jobs
by Dylan16807 4359 days ago
Those are function overloads? Does it pick the overload based on the runtime type of a variable that can hold multiple types? Can you create arbitrary multi-member types to apply this logic to?

Then code using that dispatching to implement behavior would be object-oriented, I think.

If not then no.

Also it's code that's object oriented or not, a language 'being' object oriented is a discussion of how well it supports such a thing. But they're all turing compatible; with enough abstraction you can write any type of code on top of any language.