|
freespectrum.herokuapp.com/workshop...-links.svg -- gist.github.com/masak/5431185 -- logs at olive.undo.it/log?channel=masakism Set by moderator on 4 May 2013. |
|||
|
04:51
dmol joined
05:07
d^_^b joined
07:22
dmol joined
09:09
cognominal__ joined
09:12
woolfy1 joined
09:14
blkcat_ joined,
Util_ joined
09:15
GlitchMr joined
09:31
Neighbour joined
09:33
camelia joined
|
|||
| felher | masak: gist.github.com/felher/a8ff211b6f47c9e84024 | playlist is new. Didn't have the time to make it errorproof yet. | 10:16 | |
| felher afk for a while | 10:17 | ||
| masak | felher: nice. | 10:19 | |
| felher: should preferably handle not just minutes, but hours, days, and years, too. | |||
| felher: and then we can discuss whether there should be a type Span or Duration for this in Perl 6. :) | |||
| felher: hm, it's Perl 6, so you don't need parens around the hashes... | 10:20 | ||
| lizmat | masak: tell that to someone trying to do: my Hash $h .= new( a => 1, b => 2 ); :-) | 10:21 | |
| masak | anyway, added to gist.github.com/masak/5496294 | ||
| lizmat: well, whoever that person is, they're running up against a (well-known, well-documented) corner case in which named parameters win over hash pairs :) | 10:22 | ||
| lizmat: maybe we can make it even clearer, but... | |||
| lizmat | well, my big issue with this, is that it fails silently (unlike niecza) | 10:23 | |
| masak | *nod* | ||
| lizmat | n: my Hash $h .= new( a => 1, b => 2 ) | ||
| camelia | niecza v24-42-g69a3432: OUTPUT«Potential difficulties:� $h is declared but not used at /tmp/XsasKtFV70 line 1:�------> [32mmy Hash [33m�[31m$h .= new( a => 1, b => 2 )[0m��Unhandled exception: Excess arguments to Hash.new, unused named a, b� at /home/p6eval/niecza/lib/CORE.setting… | ||
| lizmat | or more clearly: | 10:24 | |
| masak | having a warning or error there is kind of nice, yes. | ||
| lizmat | n: my Hash $h .= new( a => 1, b => 2 ); $h | ||
| camelia | niecza v24-42-g69a3432: OUTPUT«Unhandled exception: Excess arguments to Hash.new, unused named a, b at /home/p6eval/niecza/lib/CORE.setting line 0 (Hash.new @ 1)  at /tmp/8TnmaoKKAR line 1 (mainline @ 3)  at /home/p6eval/niecza/lib/CORE.setting line 4329 (ANON @ 3)  at /home/p6e… | ||
| lizmat | anyways, I don't think this belongs on #masakism :-) | 10:25 | |
| masak | correct ;) | 10:31 | |
|
10:48
Farow joined
|
|||
| felher | masak: i know. But parens tell vim to indent. :) | 12:20 | |
| masak | fair enough :) | ||
| masak tends to turn off indenting in vim because it drives him nuts | 12:21 | ||
| felher | masak: yeah vim indenting vor perl6 is... suboptimal. :) | 12:22 | |
| *for | |||
| masak | I dunno, I've never gotten along with vim indenting in general. | 12:24 | |
| maybe I'm just doin' it wrong. | |||
| Eclipse's indenting works fine, at least for Java. | |||
| felher | masak: well, C indenting is quite good. Java indenting is ok most of the time, but bugs me from time to time. Not enough to make me change the editor, though. | 12:33 | |
| masak | I was very impressed with vim when coding C in it, yes. | 12:34 | |
|
12:48
sjn left
15:23
Farow|2 joined
17:05
dmol joined
23:39
KvH_ joined
|
|||