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

Can we have Zig defaults to const (so simply just like the V language default) #7790

Closed
abdulbadii opened this issue Jan 16, 2021 · 1 comment
Milestone

Comments

@abdulbadii
Copy link

Can we have Zig defaults to const so only if a var or others is explicitly declared that'd be not constant ?

@jayschwa
Copy link
Sponsor Contributor

Andrew once explained why he didn't want implicit declaration in an old comment. It makes parsing harder.

@andrewrk andrewrk added this to the 0.8.0 milestone Jun 4, 2021
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

3 participants