3 ms·
Similar, but different in subtle ways when you get beyond the toy example posted here...particularly that it's always iterating a collection, vs being able to j
by PKop 3y ago
Similar, but different in subtle ways when you get beyond the toy example posted here...particularly that it's always iterating a collection, vs being able to just arbitrarily loop based on arbitrary conditions..where you'd be able to easily break out of it, modify a mutable collection within it etc
https://dev.to/brewinstallbuzzwords/does-elixir-have-for-loops-19p9 https://dev.to/brewinstallbuzzwords/does-elixir-have-for-loo... "Does Elixir have for loops?"
https://elixirforum.com/t/changing-variables-in-a-loop/43526 https://elixirforum.com/t/changing-variables-in-a-loop/43526 "Changing variables in a loop"
https://stackoverflow.com/questions/56196664/better-way-writing-nested-for-loops-in-elixir https://stackoverflow.com/questions/56196664/better-way-writ...
https://stackoverflow.com/questions/48178773/adding-items-to-a-list-from-a-loop-with-conditions https://stackoverflow.com/questions/48178773/adding-items-to...