StardustPL / Stardust

"A programming language that doesn't make me angry to use it."
https://StardustPL.GitHub.IO/
The Unlicense
4 stars 0 forks source link

Planning: Classes/Interfaces #6

Open LB-- opened 9 years ago

LB-- commented 9 years ago

All classes are interfaces to objects/instances. The difference between a class and interface does not exist within the language; it is merely a difference in the treatment and use of a class.

Classes are themselves a scope/namespace and may contain further nested scopes/namespaces.

LB-- commented 8 years ago

You can create an interface to already-existing types and implicitly cast them to the interface.

LB-- commented 8 years ago

This clashes with #29 - will need some rethinking.