-
-
Notifications
You must be signed in to change notification settings - Fork 661
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
Revert #6825 #6847
Comments
Too bad ) |
I think null safety would require unspecifying out-of-bounds array access. It's already an issue for a lot of targets, they have to check bounds on each array access. |
I don't think it's ok to deal with type holes and inconsistencies by unspecifying them ) Another Haxe issue is that we have too many things unspecified. That makes developers in our team face inconsistencies pretty often (I guess it's applicable to any Haxe user). |
that's the cost of overhead-less code generation, we're keeping fragile balance, not overspecifying too much to avoid run-time wrapper/checker code |
Yes, I understand. But that is also one of the reasons I usually hear when devs are reasoning "why I left Haxe" ) |
Maybe having "unsafe" things for perforamnce-demanding code and "overspecified" things for cross-target consistency code would be a solution. |
I think #6825 does more harm than good. Having different typing for something as used as Array depending on the platform creates more issues, we want to avoid platform-specific typing as much as possible.
@RealyUniqueName please revert
The text was updated successfully, but these errors were encountered: