|
6macros: discussing the finer points of Perl 6 macros, Qtrees, and how to stay sane | irclog: irclog.perlgeek.de/6macros/today Set by moderator on 4 July 2015. |
|||
|
03:07
vendethiel joined
05:52
vendethiel joined
07:45
vendethiel joined
08:08
vendethiel joined
11:49
vendethiel joined
|
|||
| vendethiel is done with all his nippon things | 21:34 | ||
| i'm still a bit too tired to look at macro stuff today :P | |||
| masak | understandable :) | 21:38 | |
| masak is watching a video about algebraic topology | |||
| vendethiel | nice! | 21:39 | |
| I'd, if my brane could handle it :P | |||
| masak | it's a lecture by Norman Weldberger, a somewhat crazy mathematician who doesn't buy into this whole "real number line" business | 21:40 | |
| Wildberger* | 21:41 | ||
| in the custom-ops branch in 007, I'm just about to write the logic to distinguish prefixes and postfixes by precendence and associativity. | 21:44 | ||
| I also did a reboot of my Second System perl IRC bot today, and what I believe was a much better start than last time :> | 21:45 | ||
| vendethiel | great! | 21:47 | |
| masak | tests are kind cute: github.com/masak/mishu/blob/master....t#L30-L49 :> | 21:49 | |
| kinda* | |||
| this is exactly how I want to write tests. | |||
| vendethiel | i think this is a private github repo :) | 21:50 | |
| masak | ugh, you're right. | ||
| vendethiel | got it | 21:51 | |
| masak | try again. just made it public. | ||
| vendethiel | "masak open soruced mishu" | ||
| sourced* | |||
| you can't be faster than my notifications :P | |||
| masak | well, that's an exaggertaion :P | ||
| "open sourced" :P | 21:52 | ||
| vendethiel | hehe | ||
| the guy's english isn't great | |||
| "mock" | |||
| i'd say | |||
| "don't use mocks, write pure functions instead" but it's quite a stretch | |||
| at least for now. | |||
| masak | I've heard the principle, and I'm open for suggestions -- but mocks felt pretty right in this case. | 21:53 | |
| vendethiel | well | ||
| masak | I *think* what "pure functions" leads to is immutable objects | ||
| vendethiel | yeah. | ||
| I don't need mock, because I can observe all the changes already | |||
| it'd be unwieldly in Perl6 | 21:54 | ||
| at least until someone writes "siz" | |||
| masak | and I think what I'm doing is a mutable/dirty optimization of the immutable version. | ||
| and I basically have no problem with that, because that's what I consider to be the core of OO. | |||
| vendethiel doesn't believe much in OO | |||
| it's funny, when I tell people that, they look at me in the (e-)eyes like "this idiot hasn't graduated from procedural code yet!" | 21:55 | ||
| masak | I've been skeptical for most of my career, but I've also seen OO used really well in a narrow range of cases. | ||
| vendethiel | oh, I never said it was never useful...:) | ||
| masak | actually, to me one of the big insights was the isomorphism between chains of (command) method calls, and monoids. | 21:57 | |
| that kind of establishes a bridge between the OO and FP worlds. | 22:00 | ||
| vendethiel | mmh-hmm | 22:08 | |
|
23:45
vendethiel joined
|
|||