Perl 6 - the future is here, just unevenly distributed

IRC log for #6macros, 2016-06-14

| Channels | #6macros index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:48 ilbot3 joined #6macros
05:55 FROGGS joined #6macros
06:27 FROGGS joined #6macros
06:32 FROGGS_ joined #6macros
07:13 FROGGS joined #6macros
07:20 FROGGS_ joined #6macros
09:26 Ven joined #6macros
09:26 Ven joined #6macros
09:32 Ven masak: I keep your question in the back of my mind. But I need to think a bit more before answering – (note: the "things we can get freely from lisp" question)
09:35 cognominal joined #6macros
10:11 cognominal joined #6macros
11:49 cognominal joined #6macros
12:42 cognominal joined #6macros
14:43 cognominal joined #6macros
14:59 FROGGS joined #6macros
15:39 FROGGS joined #6macros
15:49 cognominal joined #6macros
16:00 FROGGS joined #6macros
16:20 masak Ven: 's alright
16:20 masak it's a big question
16:30 masak question for the language feature peanut gallery: `if obj.has("myprop")` or `if "myprop" in obj` ?
16:31 masak the former is currently implemented in 007. the latter is from Python, and in Python it works on objects, arrays, sets, ranges...
16:32 masak you can even use it for substrings
16:33 * masak just realized that if we were to go with `in`, the opposite would be `!in` in 007, not `not in` as in Python :)
17:03 masak I just checked: `rhs `lhs in rhs` translates to `rhs.__contains__(lhs)` in Python
17:04 masak what are the pros and cons of using dunder-method syntax, would you say? I mean, it's currently `rhs.has(lhs)` in 007, which technically means we're mixing a "meta" method with the normal methods
17:05 masak how bad is that?
18:18 vendethiel joined #6macros
19:25 FROGGS joined #6macros
20:43 cognominal joined #6macros
21:29 cognominal joined #6macros
23:59 cognominal joined #6macros

| Channels | #6macros index | Today | | Search | Google Search | Plain-Text | summary