News for hackers. Stuff that matters.
Re:Julia as a CLI Calculator by dnautics on Friday June 05, 2020 @04:48PM (#23433781)
no it's not, because a key part of OO is encapsulation. You really do need a functional language with naked, fully introspectable types everywhere, for this to work effectively.
Re:Julia as a CLI Calculator by RivieraKid on Friday June 05, 2020 @06:20PM (#23434693)
I tried it in Dart and it worked, so it's possible.

But maybe I don't understand your point, if so, tell me what exactly would be impossible to implement in a language like Swift, Dart, Kotlin.

Re:Julia as a CLI Calculator by dnautics on Saturday June 06, 2020 @02:14PM (#23441166)
yes, you can add an inspect method to every object, but you'll also have to add an inspect method to every object. That's the problem.