Skip to content

Comment on A Julia Interpreter and Debuggerparent

Comments

Multimethods are OO.

Polymorphism yes, but there is no class structure to combine state and behavior. I suppose OO is pretty subjective and I should say most folks wouldn't consider Julia to be OO in nature.

Sure there is, by changing struct fields content upon a multmethod dispatch.

There are many ways to do OOP.

I advise to read the "The Art of Metaobject Protocol".

I respect your lisp skills, but isn't what you're saying that "sure a tank can fly...you just need really big wings and and a giant rocket engine strapped on the back"? I'll agree that you can hack on your own object system, but aren't you essentially towing a yacht with a Honda Fit? Or do I misunderstand?

You misunderstand.

There are many ways to do OOP from CS point of view, be curious, learn them.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.