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

Feature Request : Enforced Data Type Safety #30

Open
Nach0z opened this issue Jul 25, 2017 · 0 comments
Open

Feature Request : Enforced Data Type Safety #30

Nach0z opened this issue Jul 25, 2017 · 0 comments

Comments

@Nach0z
Copy link

Nach0z commented Jul 25, 2017

I've had many other developers call upon my work with, for example, doubles where there should be ints, and vice versa. I'd like to see an enforced type safety mechanism, possibly boxed data types, to prevent this.
Integers, for example, would become... VigilInts.
Any section of code that attempts to coerce a data type is WRONG and must be punished. Casting is acceptable as it allows the caller to acknowledge the risks, but type coercion is unacceptable.
Eternal VigilInts.

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