<FromGitter>
<azurelmao> how do you iterate through arrays again? I sort of forgot
<FromGitter>
<jrei:matrix.org> You haven't found how in the crystal guide?
<FromGitter>
<azurelmao> I tried to look for it, but couldn't find anything titled like "Arrays"
<FromGitter>
<azurelmao> was it .each ?
<FromGitter>
<azurelmao> aight i got it
<FromGitter>
<jrei:matrix.org> You'll find when searching about iteration
<FromGitter>
<jrei:matrix.org> Also it is not only about Arrays, but iterating in collections in general. ⏎ May be time to read the guide to refresh your memory 😄
HumanG33k has joined #crystal-lang
hightower2 has joined #crystal-lang
hightower3 has joined #crystal-lang
hightower2 has quit [Ping timeout: 264 seconds]
<FromGitter>
<stellarpower> There's no for loop, the only way is to call something like .each with a block
<FromGitter>
<Blacksmoke16> or a good ol' `while`
<FromGitter>
<stellarpower> Or that, but kinda different use-case
notzmv has quit [Ping timeout: 256 seconds]
<FromGitter>
<moe:busyloop.net> `.each` is so beautiful, i have nothing but pity for languages that don't have it
<FromGitter>
<moe:busyloop.net> well, the ruby collection interface in general
<FromGitter>
<moe:busyloop.net> or smalltalk or wherever it originally came from...
_ht has joined #crystal-lang
notzmv has joined #crystal-lang
hightower3 has quit [Remote host closed the connection]
_ht has quit [Quit: _ht]
sagax has joined #crystal-lang
jmdaemon has joined #crystal-lang
hightower2 has joined #crystal-lang
acoolstraw has quit [Remote host closed the connection]