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

Avoid abbreviations and short hand syntax #5

Open
2 tasks
gabrielpra1 opened this issue Nov 6, 2020 · 1 comment
Open
2 tasks

Avoid abbreviations and short hand syntax #5

gabrielpra1 opened this issue Nov 6, 2020 · 1 comment

Comments

@gabrielpra1
Copy link
Member

  • When declaring variables, avoid abbreviating them (e.g. call it source instead of src or quantity instead of qntty)
  • When using APIs that offer short hand syntax, avoid them (e.g. use minHeight instead of minH)
@gabrielpra1
Copy link
Member Author

Still need to discuss the second point, since some shorthand syntax are quite common and wide-spread (e.g. mt for margin-top) in most styling libraries and frameworks.

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