Re: Important features not highlighted on main page
- Posted by _tom (admin) Jun 27, 2017
- 1691 views
What OOP has is:
- dot notation
- identifiers that replace numerical sequence indexing
How practical would it be to add just these items to a language?
The rest of the OOP stuff is just more work and details that slow down the language. As you develop a program in an OOP language you can't help but feel clever. But, I have serious trouble decoding someone else's OOP code (or code written a long time ago).
I think that's am oversimplification of object-oriented programming. With a proper OOP language you have classes, templates, inheritance, polymorphism, etc.
-Greg
If Euphoria had dot-notation with identifiers for indexing then I have as much of what OOP offers that I want. Euphoria is already polymorphic. I probably do not want inheritance in a simple program.
So, rather than asking for OOP, I am asking about some syntactic candy.
_tom