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

testing nim features #17

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

Conversation

hugosenari
Copy link

I'm just exploring some Nim features to reason about how could we simplify the developer experience:

  1. Using, because we need add props and event everywhere.
    image

  2. html(fmt"<i/>") -> fmt"<i/>", at least in your exemple code it looks reasonable
    image

  3. exportc -> 'jso', JSO isn't a good name, but exportc is worse, unseless we are working with C code. I woul'd prefer some from standard in nim lib.

  4. component, event and app as template, it almost nullifies the reasons for 1 . image

I would prefer import instead of include, but it doesn't work with 3, and I'm not sure about 1.

Anyway, is more like a forum post than a "PR", but is more readable as "PR" than an issue, please close after reading. ;-)

@hugosenari hugosenari changed the title chore: testing nim features testing nim features Mar 13, 2023
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.

1 participant