Replies: 3 comments
|
I'm not entirely convinced that field access modifiers provide much value. The concept of preventing access to certain fields or methods is not present in Adept. If you want to access something, you can access it.
e.g. Ideally though, I think Also before field access modifiers, I think that module/namespace level access modifiers have a much greater impact. Ideally these would be added sometime in the future along with field access modifiers. |
|
Also part of the reason why access modifiers aren't supported, is because Adept doesn't really have the idea of closed classes. You can create first-class methods at anytime: which complicates the |
|
I will stop treating Adept as another C++ or Objective C but an enhanced version of C. Everything in C is |
Uh oh!
There was an error while loading. Please reload this page.
Everything is
publicis against the concept of encapsulation in OOP.All reactions