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
jmdaemon has quit [Ping timeout: 252 seconds]
Sankalp has quit [Ping timeout: 252 seconds]
Sankalp- has joined #crystal-lang
Sankalp- is now known as Sankalp
ua__ has joined #crystal-lang
ua_ has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 244 seconds]
jmdaemon has joined #crystal-lang
ur5us has joined #crystal-lang
mookie has quit [Read error: Connection reset by peer]
mookie has joined #crystal-lang
SamantazFox has quit [Remote host closed the connection]
SamantazFox has joined #crystal-lang
jmdaemon has quit [Quit: ZNC 1.8.2 - https://znc.in]
jmdaemon has joined #crystal-lang
<Elouin> nice. Thx. :)
ur5us has quit [Ping timeout: 244 seconds]
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 260 seconds]
ur5us has joined #crystal-lang
Sankalp has quit [Ping timeout: 260 seconds]
Sankalp has joined #crystal-lang
Sankalp has quit [Ping timeout: 252 seconds]
Sankalp has joined #crystal-lang
ur5us has quit [Ping timeout: 244 seconds]
jmdaemon has quit [Ping timeout: 244 seconds]
<FromGitter> <azurelmao> how do I pass by reference a field to a method, and not by value?
<FromGitter> <Blacksmoke16> got an example?
<FromGitter> <azurelmao> wait a sec
<FromGitter> <azurelmao> https://carc.in/#/r/dq2u
<FromGitter> <Blacksmoke16> afaik you'd have to wrap it in a class or use `Box` maybe
<FromGitter> <Blacksmoke16> could you just do something like https://carc.in/#/r/dq2v ?
<FromGitter> <Blacksmoke16> there isnt a way like in some other langs to pass a value type by reference like that
<FromGitter> <Blacksmoke16> https://carc.in/#/r/dq35 but now you're getting into possibly unsafe code
<FromGitter> <azurelmao> ill do the first approach, thanks!
jmdaemon has joined #crystal-lang
_ht has joined #crystal-lang
eron has joined #crystal-lang
eron has left #crystal-lang [#crystal-lang]
_ht has quit [Remote host closed the connection]
yxhuvud has quit [Read error: Connection reset by peer]
Sankalp has quit [Ping timeout: 240 seconds]
yxhuvud has joined #crystal-lang
ur5us has joined #crystal-lang
Sankalp has joined #crystal-lang
renich has joined #crystal-lang
jmdaemon has quit [Quit: ZNC 1.8.2 - https://znc.in]