ur5us_ has joined #crystal-lang
notzmv has quit [Ping timeout: 252 seconds]
notzmv has joined #crystal-lang
notzmv has quit [Ping timeout: 268 seconds]
ur5us_ has quit [Ping timeout: 240 seconds]
notzmv has joined #crystal-lang
ur5us_ has joined #crystal-lang
hightower2 has joined #crystal-lang
ur5us_ has quit [Ping timeout: 256 seconds]
ur5us_ has joined #crystal-lang
ur5us_ has quit [Ping timeout: 252 seconds]
wolfshappen has quit [Quit: later]
wolfshappen has joined #crystal-lang
wolfshappen has quit [Quit: later]
wolfshappen has joined #crystal-lang
wolfshappen has quit [Ping timeout: 240 seconds]
wolfshappen has joined #crystal-lang
<
riza>
is there a technique to use a fresh variable esque syntax to generating a class?
<
FromGitter>
<Blacksmoke16> not w/o getting super hacky :P
hightower2 has quit [Ping timeout: 240 seconds]
<
riza>
I kind of just want an anonymous class
<
riza>
I don't really need a handle to it
hightower2 has joined #crystal-lang
<
yxhuvud>
What is your use case?
<
riza>
just some crappy code that runs itself
<
FromGitter>
<Blacksmoke16> use a proc?
<
riza>
i made a dsl that generates classes, and a parent class that calls a function on each of the subclasses at_exit
<
riza>
each class aggregates a bbunch of stuff that needs to be run in an order, independently from the other classes
<
riza>
oh that's nice, I'd just made a const array and << on inherited
<
FromGitter>
<Blacksmoke16> could also use annotations to control the order via sorting
<
riza>
I don't like annotations
<
FromGitter>
<Blacksmoke16> :shrug: oh well
<
riza>
nothing against athena :heart:
<
riza>
just not my style
<
FromGitter>
<Blacksmoke16> thats like saying "i dont like blocks"
<
riza>
well, i'ts like saying "I don't like blue blocks" thats for sure
<
FromGitter>
<Blacksmoke16> are missing out of some nice lang features
<
riza>
there's no accounting for taste
<
riza>
they have their uses...@deprecated, for example
<
FromGitter>
<Blacksmoke16> yes thats what they're for :P annotating things
<
FromGitter>
<Blacksmoke16> you can deff over use them, but they can come in handy in certain cases
ur5us_ has joined #crystal-lang
notzmv has quit [Ping timeout: 268 seconds]
sagax has quit [Ping timeout: 250 seconds]
hightower2 has quit [Ping timeout: 252 seconds]
notzmv has joined #crystal-lang
hightower2 has joined #crystal-lang
hightower2 has quit [Ping timeout: 240 seconds]
ur5us_ has quit [Ping timeout: 240 seconds]