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
<FromGitter> <jrei:matrix.org> haha x) It will habituate new comers to Crystal compilation speed
<FromGitter> <alexherbo2> does Crystal have `...` from Ruby to delegate/
<FromGitter> <alexherbo2> ?
<FromGitter> <alexherbo2> ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=60568e2233346c162766b6f9]
<FromGitter> <Blacksmoke16> No
<FromGitter> <alexherbo2> `new` can be initialized from parameter constructor, and has a second implem accepting a block.
<FromGitter> <Blacksmoke16> would have to do something like
<FromGitter> <Blacksmoke16> ```def self.create(*args, **kwargs) ⏎ new(*args, **kwards).save ⏎ end``` [https://gitter.im/crystal-lang/crystal?at=60568e5b3a9448256c1c88c3]
<FromGitter> <alexherbo2> outch
<FromGitter> <alexherbo2> doesn't read as well as ruby >:(
<FromGitter> <Blacksmoke16> :shrug:
<FromGitter> <Blacksmoke16> this isn't ruby :P
<FromGitter> <alexherbo2> is `...` a bad idea you think?
<FromGitter> <Blacksmoke16> technically `...` is valid syntax
<FromGitter> <Blacksmoke16> `new(...)` is basically the same as `new(nil...nil)` i.e. an infinite range
alexherbo2 has quit [Ping timeout: 276 seconds]
<FromGitter> <asterite> Ruby added that just now. I wouldn't say it's a super necessary thing.
chachasmooth has quit [Quit: Quit]
chachasmooth has joined #crystal-lang
<FromGitter> <Blacksmoke16> is a good example of why its not a good idea to use class vars to store state in web frameworks
f1reflyylmao has joined #crystal-lang
f1refly has quit [Ping timeout: 246 seconds]
f1reflyylmao is now known as f1refly
chachasmooth has quit [Ping timeout: 265 seconds]
chachasmooth has joined #crystal-lang
chachasmooth has quit [Ping timeout: 240 seconds]
chachasmooth has joined #crystal-lang
<FromGitter> <HertzDevil> `...` is actually allowed in lib funs to represent c varargs
HumanG33k has quit [Remote host closed the connection]
HumanG33k has joined #crystal-lang
hendursa1 has joined #crystal-lang
hendursaga has quit [Ping timeout: 268 seconds]
alexherbo2 has joined #crystal-lang
MasterdonX has joined #crystal-lang
MasterdonX has quit [Read error: Connection reset by peer]
MasterdonX has joined #crystal-lang
masterdonx2 has joined #crystal-lang
MasterdonX has quit [Ping timeout: 276 seconds]
_ht has joined #crystal-lang
masterdonx2 has quit [Quit: ZNC 1.7.5 - https://znc.in]
FromGitter has quit [Read error: Connection reset by peer]
andremedeiros has quit [Read error: Connection reset by peer]
andremedeiros has joined #crystal-lang
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
HumanG33k has quit [Quit: Leaving]
andremedeiros has quit [Read error: Connection reset by peer]
andremedeiros has joined #crystal-lang
andremedeiros has quit [Read error: Connection reset by peer]
andremedeiros has joined #crystal-lang
Nekka has quit [Ping timeout: 256 seconds]
richbridger has joined #crystal-lang
aquijoule__ has quit [Ping timeout: 265 seconds]
teardown has quit [Ping timeout: 268 seconds]
teardown has joined #crystal-lang
DTZUZU_ has joined #crystal-lang
DTZUZU has quit [Read error: Connection reset by peer]
DTZUZU_ is now known as DTZUZU
Nekka has joined #crystal-lang
lanodan has quit [Ping timeout: 240 seconds]
lanodan has joined #crystal-lang
_ht has quit [Remote host closed the connection]
hendursa1 has quit [Ping timeout: 268 seconds]
hendursa1 has joined #crystal-lang