-
Notifications
You must be signed in to change notification settings - Fork 8
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
Remove is
prefix from boolean properties
#182
Comments
I personally like to use the prefix is for imutable boolean values. However, in JS i kinda feel like we shouldn't really do that at all and just remove the |
i'm for |
I believe the Either way, I would like to work on this issue to get some exposure to contributing to Alt:V, if possible. |
Sure, i'll assign you to that - feel free to make a PR - for any questions feel free to reach out to me on discord: xLuxy |
@carlos-menezes what's the current state on this? You had closed #192 |
Merged here: #202 |
This is a pet peeve of mine. I'm trying out the new module and I'm not a huge fan of prefixing booleans with
is
. Also, class boolean properties which areReadonly<T>
are prefixed withis
(I assume to let the user differentiate between mutable and non-mutable properties), but the constructors to said classes take arguments that don't follow this logic:I am suggesting we only change the values passed to
ClassTemplate::Method
as I believe it is a common convention to prefix booleans withis
in C++.Thoughts?
The text was updated successfully, but these errors were encountered: