Re: Structs
- Posted by euphoric (admin) Jun 22, 2019
- 4225 views
petelomax said...
euphoric said...
_tom said...
You invent OOP
Almost, but that's not the intent.
Oh yes it is.
No. All I really want is encapsulation, which is part of OOP, but is not OOP.
We can already encapsulate code in modules (include files). This would just be a different form of that, with maybe better protection or ease-of-use.
I haven't thought too hard about it, so I don't have a list of pros/cons just yet.