-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
suggestion: clea(n|r)er for loop syntax instead of classic C style one #5944
Comments
This doesn't make sense at all. |
But in that time you learned a useful V programming construct ;-) |
|
If you want these types of ranges then just my range library https://github.com/Delta456/range |
BTW I've made #5949 to document range for. |
In what way does it not make sense, please elaborate? |
@jalelegenda |
@jalelegenda If you're concerned about typing less, you should make use of a text editor that supports creating snippets. |
I feel a for loop with the following syntax:
looks cleaner
is more readable
involves less typing
than the archaic C-style for loop.
few more examples:
The text was updated successfully, but these errors were encountered: