4 ms·
I guess the statement >>That's not really the case. For loops are certainly less common compared to C, but they are completely fine to use. Forcing every loop
by John23832 2y ago
I guess the statement
>>That's not really the case. For loops are certainly less common compared to C, but they are completely fine to use. Forcing every loop into an iterator-chain style can quickly become an unreadable mess.
Implies a C-style for loop, some sort of counting accumulator, and an update expression. That doesn't exist in rust. That's all I was saying.
I know who you are, so I know I'm preaching to the preacher.
- steveklabnik 2y agoGotcha. I don't think it implies a C-style for loop, guess we just read things differently :)