irclog.perlgeek.de/perl6book/today | source: github.com/perl6/book/
Set by moderator on 11 November 2009.
00:46 mubot joined
PerlJam finding it really hard to write a few paragraphs for the book on the relationship between Perl 5 and Perl 6 03:18
Here are all of my false starts (each paragraph can be viewed separately). gist.github.com/b9def098efdd3e5d09c9 03:19
Each contains the kernel of an idea that I was thinking of exploring 03:20
chromatic They all feel rubbery because the whole idea of selling Perl 6 as "not the obvious successor to Perl 5" is a rubbery idea. 04:03
08:00 d4l3k_ joined 09:34 dalek joined 09:35 carlin joined 09:37 p6eval joined 09:40 japhb joined
jnthn oh hai 10:58
I just reviewed hangman.p6
We do
my $alphabet = join '', 'a'..'z';
And only use it in
if not defined(index($alphabet,$guess)) {
Could we not somehow have used smart-matching against the range (maybe too liberal) or just
if $guess eq any('a'..'z') { ... } 10:59
Also 11:02
if join('',@blanks) eq $word { say "\\t\\tYou Win!"; last; }
Maybe we can name @blanks something a little better?
moritz_ jnthn: if $guess eq any('a'..'z') { ... } 11:29
13:43 masak joined
PerlJam jnthn: sure, tmtowtdi after all. The original was an exercise in conceptual minimality though. Introduce just enough stuff to get through what scalars, arrays, hashesh, subroutines, etc. are, but not go into what objects are or what smart matching is, or hyper/meta ops, or junctions, or other "more advanced" things 14:33
s/hashesh/hashes/
jnthn True...it just looked really odd to write it using index. 14:35
PerlJam Everybody look at github.com/perl6/book/blob/master/s...reface.pod and fix what I wrote about the relationship between Perl 6 and Perl 5 :) 15:38
15:39 dalek joined
moritz_ PerlJam++ 15:45
18:17 chromatic joined
moritz_ chromatic: the things in =begin notetip ... =end notetip isn't rendered, it doesn't even appear in the .tex file 18:55
chromatic: is there any hook to enable that? 18:56
chromatic I thought Pod::PseudoPod handled that. allison will know better.
18:59 hugme joined