Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

access modifiers are required #174

Open
adabadadudu opened this issue Mar 2, 2022 · 2 comments
Open

access modifiers are required #174

adabadadudu opened this issue Mar 2, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@adabadadudu
Copy link
Member

in the docs, I saw an example:

class Parent
  $age = 100
class Child < Parent

Ok. Assume I bornt today & because my father is 100, then I'm 100 too :| ??

The way most programming languages solved this problem, includes using access modifiers, but in Pashmak as bad as Python, it's done in no way. at least, python uses a convention but it's absolutely no in Pashmak.

so I highly suggest it - this feature

@adabadadudu adabadadudu added the enhancement New feature or request label Mar 2, 2022
@parsampsh
Copy link
Member

Good point. I may work on it for 0.9.

@parsampsh
Copy link
Member

Working on it here #177...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants