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

feat: function create #734

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

daro-asecas
Copy link

create is a solution for those cases in wich you deleted something and you need to use it again.

create is a solution for those cases in wich you deleted something and you need to use it again.
```java
delete create!
create class! // Error: create was deleted
create create!

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You cannot create create if you deleted create

@@ -513,6 +513,34 @@ When perfection is achieved and there is nothing left to `delete`, you can do th
delete delete!
```

The `delete` function works globally. If you need to use a deleted function in some other project, you must `create` it again:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete only delete the keyword not the action and only delete in the current program/file/function. You can also do that to get it back later

const const _ = class!
delete class!!!
class Player {}! // Error: class was deleted
const const class = _! // Do nothing because less ! than the delete
class Player {}! // Error: class was deleted
const const class = _!!!
class Player {} // OK!

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

Successfully merging this pull request may close these issues.

2 participants