snsei has quit [Remote host closed the connection]
wmoxam has joined #crystal-lang
snsei has joined #crystal-lang
snsei has quit [Ping timeout: 272 seconds]
kulelu88 has quit [Quit: Leaving]
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 264 seconds]
snsei has joined #crystal-lang
snsei has quit [Ping timeout: 255 seconds]
early has quit [Quit: Leaving]
early has joined #crystal-lang
onethirtyfive has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
soveran has joined #crystal-lang
Philpax has quit [Read error: Connection reset by peer]
soveran has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
jamie_ca has quit [Remote host closed the connection]
jamie_ca has joined #crystal-lang
Philpax has joined #crystal-lang
pawnbox has joined #crystal-lang
snsei has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
snsei has quit [Ping timeout: 272 seconds]
onethirtyfive has joined #crystal-lang
onethirtyfive has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
ponga has joined #crystal-lang
eizua has joined #crystal-lang
Raimondii has joined #crystal-lang
daemonwrangler_ has joined #crystal-lang
justinmcp_ has joined #crystal-lang
ryanf_ has joined #crystal-lang
dostoyev1ky has joined #crystal-lang
bazaar_ has joined #crystal-lang
dostoyev1ky has quit [Client Quit]
dostoyev1ky has joined #crystal-lang
aarongodin_ has joined #crystal-lang
mjblack- has joined #crystal-lang
jamie_ca- has joined #crystal-lang
[spoiler] has joined #crystal-lang
omninonsense has quit [*.net *.split]
gewo1 has quit [*.net *.split]
emmanueloga has quit [*.net *.split]
aarongodin has quit [*.net *.split]
jamie_ca_ has quit [*.net *.split]
daemonwrangler has quit [*.net *.split]
Majost has quit [*.net *.split]
ryanf has quit [*.net *.split]
nickc has quit [*.net *.split]
bazaar has quit [*.net *.split]
justinmcp has quit [*.net *.split]
dostoyevsky has quit [*.net *.split]
pduncan has quit [*.net *.split]
mjblack has quit [*.net *.split]
Raimondi has quit [*.net *.split]
mose has quit [*.net *.split]
fedruantine has quit [*.net *.split]
Raimondii is now known as Raimondi
mjblack- is now known as mjblack
fedruantine has joined #crystal-lang
Majost has joined #crystal-lang
aarongodin_ is now known as aarongodin
dostoyev1ky is now known as dostoyevsky
pawnbox has joined #crystal-lang
emmanueloga has joined #crystal-lang
daemonwrangler_ is now known as daemonwrangler
pduncan has joined #crystal-lang
gewo1 has joined #crystal-lang
mose has joined #crystal-lang
nickc has joined #crystal-lang
soveran has joined #crystal-lang
snsei has joined #crystal-lang
soveran has quit [Ping timeout: 272 seconds]
snsei has quit [Ping timeout: 255 seconds]
fp_preist has joined #crystal-lang
soveran has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
snsei has joined #crystal-lang
snsei has quit [Ping timeout: 255 seconds]
mark_66 has joined #crystal-lang
sandelius has joined #crystal-lang
oddmunds1 is now known as oddmunds
Philpax has quit [Ping timeout: 265 seconds]
bjz_ has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 265 seconds]
Philpax has joined #crystal-lang
Philpax has quit [Read error: Connection reset by peer]
Philpax has joined #crystal-lang
pawnbox has joined #crystal-lang
bew78 has joined #crystal-lang
<bew78>
Hello ! I've read somewhere that we should prefer struct over class, but I just read that class are passed by reference, and struct by value.. I thought reference is better, so why using struct ?
fp_preist has quit []
fp_preist has joined #crystal-lang
<BlaXpirit>
bew78, so where exactly did you read that?
<BlaXpirit>
bew78, you use struct to avoid memory allocation on the heap and the need for garbage collection. if used carefully, it improves performance
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
snsei has joined #crystal-lang
pawnbox has quit [Ping timeout: 244 seconds]
snsei has quit [Ping timeout: 272 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
pawnbox has joined #crystal-lang
<bew78>
Hi, I'm trying to use the lib cli (https://github.com/mosop/cli) with the example for subcommands (https://github.com/mosop/cli#subcommands) But I get an error saying that it can't find the method 'caption' after a quick look at the code, 'caption' is a macro, but I don't know why crystal can't find it..
<bew78>
Hi, I'm trying to use the lib cli (https://github.com/mosop/cli) with the example for subcommands (https://github.com/mosop/cli#subcommands) But I get an error saying that it can't find the method 'caption' after a quick look at the code, 'caption' is a macro, but I don't know why crystal can't find it..
<BlaXpirit>
bew78, show code pls. maybe u forgot to subclass something
trapped has quit [Read error: Connection reset by peer]
<BlaXpirit>
bew78, i get the same error and have no idea what's going on with that lib
<bew78>
ok, thanks. I'll open an issue and will try something else until it's resolved
<BlaXpirit>
so i'm writing specs for my library and every test in a file needs a helper class. i think it would be a huge mess to dump those classes at the beginning or the end of the file because they make no sense alone. what are my alternatives?
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
pawnbox has quit [Read error: No route to host]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 252 seconds]
_whitelogger has joined #crystal-lang
Philpax has quit [Ping timeout: 244 seconds]
mjblack has left #crystal-lang ["Closing Window"]
mjblack has joined #crystal-lang
_whitelogger_ has joined #crystal-lang
soveran has joined #crystal-lang
<bew78>
Is there a way to use OptionParser on multiple level of options ? Exemple with git would be: an OptionParser on 'git' to handle 'clone'/'commit' etc.. and another OptionParser on 'commit' to handle commit options like '-m', '-a', etc.. ? how to get the leading Args to parse ?
<bew78>
*pending args to parse
snsei has joined #crystal-lang
avdi has quit [Ping timeout: 265 seconds]
avdi has joined #crystal-lang
<crystal-gh>
[crystal] asterite pushed 2 new commits to master: https://git.io/vipyC
<crystal-gh>
crystal/master cef67da Ary Borenszweig: Compiler: fixed a few wrong parse cases
<crystal-gh>
crystal/master 612ff0f Ary Borenszweig: Fixed #3351: correctly restrict virtual generic instance type against generic
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
<rkeene>
Who wants to port the Wt bindings from Ruby to Crystal ? :-D