Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nine_k
3 months ago
|
parent
|
context
|
favorite
| on:
Zig; what I think after months of using it
Said promise should also be checked for sanity. E.g.
for i in range(N) { for i in range(M) { # Typo; wanted j. # The compiler should complain. } }
Maxatar
3 months ago
[–]
The Rust compiler would complain in this case that the initial i variable is unused. Unused variables should be named with an underscore, _.
Consider applying for YC's Summer 2025 batch! Applications are open till May 13
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: