This repository has been archived by the owner on Nov 12, 2024. It is now read-only.
Remove abbreviations from API's to make code more readable #735
jeffreyyoung
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think in most cases kaboomjs would be more readable for people new to programming if the API's did not use abbreviations.
For example:
pos(120,80)
vsposition(120,80)
anchor("botLeft")
vsanchor("bottomLeft")
- "botLeft" was confusing to me given that "bot" is a common wordrand(0,10)
vsrandom(0,10)
rect(5,5)
vsrectangle(5,5)
Besides that I've been loving kaboom!! It's been super fun to use!
Beta Was this translation helpful? Give feedback.
All reactions