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

Inline vairables #135

Open
matteo-cristino opened this issue May 16, 2024 · 0 comments
Open

Inline vairables #135

matteo-cristino opened this issue May 16, 2024 · 0 comments

Comments

@matteo-cristino
Copy link
Collaborator

In this period we have wrote already some contract in slangroom and one of the thing that I didn't really like was the fact that, in contrast to restroom, slangroom accept only data via data or keys and not inline. In particular when moving elements from one object to another one all the path had to be specified in the keys, making them quite big and noisy, for example see here.

We also noticed that old restroom db statement that save a variable in a table save them under the key that is their name, but in slangroom we can not do that (we solve it for the moment by passing the name also as a variable).

The final question that raise is: should we enlarge slangroom to store and then have the possibility to read inline data, with functions ctx.fetchName() and ctx.getName() (or something similar), to be used where this can improve usability of the code?

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

No branches or pull requests

1 participant