00:25
return0__ has quit [Read error: Connection reset by peer]
00:43
<
FromGitter >
<Blacksmoke16> @j8r i did a thing :)
00:44
<
FromGitter >
<Blacksmoke16> compile time route conflict detection π
01:29
dwdv has quit [Ping timeout: 255 seconds]
01:43
<
FromGitter >
<dscottboggs_gitlab> Oh wow!! @Blacksmoke16 super nice!
01:55
<
FromGitter >
<Blacksmoke16> thanks :) doesnt handle the case where they both have constraints, where a path param is different tho
01:55
<
FromGitter >
<Blacksmoke16> like
01:56
<
FromGitter >
<dscottboggs_gitlab> that would compile?
01:56
<
FromGitter >
<Blacksmoke16> eya
01:56
<
FromGitter >
<Blacksmoke16> yea
01:56
<
FromGitter >
<dscottboggs_gitlab> huh. well if you got this far...
01:56
<
FromGitter >
<Blacksmoke16> wouldnt be trivial to also account for those, plus idt it'll be too common
01:57
<
FromGitter >
<dscottboggs_gitlab> idk man between PHP and basically living in macro-land you must be a glutton for sifting through ugly-ass code
01:57
<
FromGitter >
<Blacksmoke16> if both routes used `constraints: {"id" => /17/}` it wouldnt compile
01:57
<
FromGitter >
<Blacksmoke16> which would be a more common use case
01:58
<
FromGitter >
<dscottboggs_gitlab> I see that makes a bit more sense
01:58
<
FromGitter >
<Blacksmoke16> ha, *my macro code isnt ugly*:p
01:58
<
FromGitter >
<Blacksmoke16> is what i did
01:59
<
FromGitter >
<dscottboggs_gitlab> oh that's not terrible. but still, `{%` is
*kinda* ugly
02:00
<
FromGitter >
<Blacksmoke16> could be worse
02:00
<
FromGitter >
<Blacksmoke16> then could use a more OOP approach and unit test them and stuff
02:01
<
FromGitter >
<dscottboggs_gitlab> woah
02:02
<
FromGitter >
<Blacksmoke16> my new fav PR :P
02:03
<
FromGitter >
<Blacksmoke16> could prob hack something together, but im not sure it would solve that exactly
02:04
sagax has joined #crystal-lang
02:04
<
FromGitter >
<dscottboggs_gitlab> oh man this really makes a big difference for macro capabilities, holy crap, this is awesome!
02:05
<
FromGitter >
<Blacksmoke16> ikr?
02:06
<
FromGitter >
<Blacksmoke16> mainly due to the recursion
02:08
<
FromGitter >
<dscottboggs_gitlab> how is this using #8836?
02:08
<
FromGitter >
<Blacksmoke16> all the private macros at the top
02:08
<
FromGitter >
<Blacksmoke16> im using those as methods
02:09
<
FromGitter >
<Blacksmoke16> like `parse_arg`, if the argument is an array, i can map over the array calling `parse_arg` again for each one
02:09
<
FromGitter >
<Blacksmoke16> versus having to duplicate the parsing logic in each case
02:11
<
FromGitter >
<dscottboggs_gitlab> huh. ok then, interesting
02:14
<
FromGitter >
<Blacksmoke16> would be an example of it, essentially allowing the user to tap into the creation of each service and alter them as needed, or to register other services manually like
02:15
<
FromGitter >
<dscottboggs_gitlab> wow, yeah, that's way less ugly than the normal crystal macros I'm used to
02:15
gangstacat has quit [Ping timeout: 260 seconds]
02:16
<
FromGitter >
<Blacksmoke16> which also illustrates how shards can provide reusable macros
02:16
<
FromGitter >
<Blacksmoke16> like `get_service_id` and `get_service_hash_value`
02:16
<
FromGitter >
<Blacksmoke16> i.e. more DRY
02:16
<
FromGitter >
<dscottboggs_gitlab> yes, make things the DRYest possible π
02:17
gangstacat has joined #crystal-lang
02:17
<
FromGitter >
<Blacksmoke16> π
02:17
<
FromGitter >
<tenebrousedge> Dune. Macrorrakis. Desert planet.
04:10
ur5us has quit [Ping timeout: 240 seconds]
05:01
ua has quit [Excess Flood]
05:03
ua has joined #crystal-lang
06:03
edr has quit [Ping timeout: 260 seconds]
06:37
_ht has joined #crystal-lang
06:37
return0e has joined #crystal-lang
07:06
dostoyevsky has quit [Quit: leaving]
07:06
dostoyevsky has joined #crystal-lang
07:10
_ht has quit [Quit: _ht]
08:00
FromGitter has quit [Read error: Connection reset by peer]
09:09
dwdv has joined #crystal-lang
09:44
alexherbo2 has joined #crystal-lang
10:34
postmodern has quit [Quit: Leaving]
11:50
DTZUZU2 has quit [Ping timeout: 256 seconds]
12:04
early has quit [Quit: Leaving]
12:04
early has joined #crystal-lang
12:05
woodruffw has quit [Ping timeout: 265 seconds]
12:06
repo has quit [Ping timeout: 265 seconds]
12:06
twistedpixels has quit [Ping timeout: 265 seconds]
12:07
repo has joined #crystal-lang
12:10
twistedpixels has joined #crystal-lang
12:10
return0__ has joined #crystal-lang
12:12
return0e has quit [Ping timeout: 240 seconds]
12:17
DTZUZU2 has joined #crystal-lang
12:23
flaviodesousa has joined #crystal-lang
12:23
flaviodesousa has quit [Remote host closed the connection]
13:17
travis-ci has joined #crystal-lang
13:17
travis-ci has left #crystal-lang [#crystal-lang]
13:19
travis-ci has joined #crystal-lang
13:19
travis-ci has left #crystal-lang [#crystal-lang]
13:54
woodruffw has joined #crystal-lang
14:12
Human_G33k has quit [Read error: Connection reset by peer]
14:20
gangstacat has quit [Quit: Δis!]
14:28
gangstacat has joined #crystal-lang
14:36
gangstacat has quit [Quit: Δis!]
14:38
gangstacat has joined #crystal-lang
14:41
repo has quit [Remote host closed the connection]
14:43
repo has joined #crystal-lang
14:44
HumanG33k has joined #crystal-lang
14:46
HumanG33k has quit [Remote host closed the connection]
14:47
HumanG33k has joined #crystal-lang
15:03
FromGitter has joined #crystal-lang
15:04
<
FromGitter >
<stronny> what's a `T.class`? Isn't T already a type?
16:28
_ht has joined #crystal-lang
16:45
postmodern has joined #crystal-lang
17:31
DTZUZU2 is now known as DTZUZU
17:46
return0__ has quit [Read error: Connection reset by peer]
17:47
return0e has joined #crystal-lang
19:05
ur5us has joined #crystal-lang
20:31
alexherbo2 has joined #crystal-lang
20:38
ur5us has quit [Ping timeout: 240 seconds]
21:11
olbat has quit [*.net *.split]
21:11
hpyc9 has quit [*.net *.split]
21:11
f1refly has quit [*.net *.split]
21:11
Xeago has quit [*.net *.split]
21:11
lvmbdv has quit [*.net *.split]
21:11
go|dfish has quit [*.net *.split]
21:12
alexherbo24 has joined #crystal-lang
21:12
f1refly has joined #crystal-lang
21:12
lvmbdv has joined #crystal-lang
21:12
olbat has joined #crystal-lang
21:12
hpyc9 has joined #crystal-lang
21:12
go|dfish has joined #crystal-lang
21:12
Xeago has joined #crystal-lang
21:13
Vexatos has quit [Remote host closed the connection]
21:13
Xeago has quit [Max SendQ exceeded]
21:13
hpyc9 has quit [Max SendQ exceeded]
21:13
hpyc9 has joined #crystal-lang
21:13
Xeago has joined #crystal-lang
21:14
alexherbo2 has quit [Ping timeout: 265 seconds]
21:14
alexherbo24 is now known as alexherbo2
21:16
Vexatos has joined #crystal-lang
21:36
ur5us has joined #crystal-lang
21:38
_ht has quit [Remote host closed the connection]
22:27
ur5us has quit [Quit: Leaving]
22:30
alexherbo2 has quit [Remote host closed the connection]
22:31
ur5us has joined #crystal-lang
23:02
dwdv has quit [Quit: quit]
23:15
ur5us has quit [Ping timeout: 256 seconds]
23:21
ur5us has joined #crystal-lang
23:38
dostoyevsky has quit [Quit: leaving]
23:38
dostoyevsky has joined #crystal-lang