ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
ur5us has quit [Ping timeout: 260 seconds]
hightower3 has joined #crystal-lang
hightower2 has quit [Ping timeout: 264 seconds]
Sankalp- has joined #crystal-lang
Sankalp has quit [Ping timeout: 260 seconds]
Sankalp- is now known as Sankalp
walez has joined #crystal-lang
walez has quit [Client Quit]
hightower3 has quit [Ping timeout: 265 seconds]
jmdaemon has quit [Ping timeout: 264 seconds]
<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]
acoolstraw has joined #crystal-lang