greptilian logo

IRC log for #sourcefu, 2015-03-01

http://sourcefu.com

| Channels | #sourcefu index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
05:36 sivoais joined #sourcefu
06:23 aditsu joined #sourcefu
13:07 aditsu joined #sourcefu
16:39 pdurbin interesting: https://sukhbinder.wordpress.com/2015/02/25/python-over-other-languages/
16:44 pdurbin heh. "Anectotal evidence suggests that one Python programmer can finish in two months what two C++ programmers can't complete in a year."
16:45 pdurbin this infographic was created by https://intellipaat.com it says at the bottom
16:49 sivoais the Tcl stuff is not true at all! "Everything is a string" is what the programmer sees, but the interpreter caches the internal representation. Also, Tcl has namespaces and has for a long time.
16:50 sivoais and it probably has the best interface to C besides Lua. There are really great Tcl + C programmers. Like Richard Hipp, who made SQLite
16:53 pdurbin and "Python has an applicability well beyond Perl's niche" makes no sense to me. Perl is general purpose.
16:54 sivoais heh, they need to see CPAN
16:54 pdurbin I also wonder how often this happens in practice: "Python can be used to prototype components until their design can be 'hardened' in a Java implementation."
16:55 sivoais oh, btw, I learned that Perl 6 will be working with CPAN!
16:55 sivoais I've never heard of anything going that route O_o But that isn't specific to Python, if true :-P
16:57 pdurbin probably more often the protype gets shipped ;)
16:59 pdurbin it's also funny how they say Javascript lacks what they say Python has "a true object-oriented programming style". I guess they don't like protypal OO. :)
16:59 pdurbin anyway, it seems like they pulled the graphic down, as I noted at https://plus.google.com/+SukhbinderSingh/posts/c44EJsyTbuS
17:00 pdurbin yeah, I listened to Richard Hipp at http://twit.tv/show/floss-weekly/320 recently and he's a smart guy
17:01 pdurbin sivoais: is there a link you recommend for the Perl 6 CPAN news?
17:06 sivoais if you want to know the high-level stuff without having to read the #perl6 logs, this is good <https://p6weekly.wordpress.com/>
17:06 sivoais and much of the news gets posted to <http://www.reddit.com/r/perl6>
17:14 sivoais heh, Perl6 seems to have RosettaCode driven development. Problems from RosettaCode are used to test out different parts of the language and then they are profiled for optmisation.
17:15 sivoais And become part of the test-suite for all Perl6 implementations
17:50 pdurbin meh, I'm not going to dig into the #perl6 logs for this. I'll wait until there's a proper write up about CPAN.
17:59 pdurbin sivoais: good to know, though. thanks
18:17 sivoais pdurbin: I actually found out about the CPAN thing via reddit
18:17 sivoais let me dredge that up
18:18 sivoais <http://www.reddit.com/r/perl6/comments/2wl8fg/thoughts_on_getting_perl_6_for_christmas/> and <http://www.reddit.com/r/perl/comments/2wkemg/thoughts_on_getting_perl_6_for_christmas/>
18:18 sivoais > At another level, FROGGS and lizmat have been working with CPAN folk behind the scenes for about a year, paving the way for P6 using CPAN.
18:19 sivoais so I jumped on #perl6 to say
18:19 sivoais m: my %karma; %karma{ :lizmat, :FROGGS }>>++; say %karma
18:20 sivoais you can guess what that does :-)
18:21 pdurbin ah, "there's a branch of the module installer that can install Perl 6 modules from CPAN". this one: https://github.com/tadzik/panda/tree/CPAN
18:31 sivoais though, I have to say, one of the annoying things about Perl6 is that certain tokens care about if you put a space between them and the previous token
18:32 sivoais for example: my $g = 41; $g ++; # compilation error. It has to be $g++
18:33 sivoais I suppose the strictness in the grammar is because they are trying to make a tight spec
18:34 sivoais but I like to be "creative" with alignment at times for the sake of readability
18:35 pdurbin sivoais: are you saying you don't use `perltidy`? I love perltidy!
18:37 sivoais no, I actually haven't! I usually let Vim's = handle the indent for me.
18:38 sivoais oooh, the square-bracket-tightness option for perltidy looks nice!
18:39 sivoais and the paren one too. I usually end up doing that by hand using surround.vim. I shall add this too my utility belt.
18:39 sivoais *to
18:46 pdurbin sivoais: you can inflict your style on others like this! https://github.com/pdurbin/wellington/blob/master/t/perlcriticrc :)
18:48 sivoais hah, severity = brutal
18:54 pdurbin love it
18:57 pdurbin sivoais: perltidy doesn't just *report* on violations. it'll actually *reformat* the code for you! :)
19:00 pdurbin anyway, it's a fantastic tool. huh, http://perltidy.com seems to be down but it's linked from http://en.wikipedia.org/wiki/PerlTidy
19:04 sivoais I asked about the space thing in #perl6 and it seems it is done that way be make the grammar extensible and fast at the same time, since you can add more operators at runtime
19:04 sivoais which will change how things are parsed (within a scope, if you like)
19:05 sivoais because otherwise the interpreter would have to do multiple passes and backtracking
19:06 sivoais I'll have to use perltidy more. I'm now looking at some of the equivalents for C.
19:44 pdurbin sivoais: if you find one, please let me know. `lint` will *report* problems, of course
19:44 pdurbin not that I write C much
20:08 sivoais indent(1) is a pretty common one that I totally forgot about
20:08 sivoais there's also <http://astyle.sourceforge.net/> and <http://uncrustify.sourceforge.net/>
20:09 pdurbin ah, yes, astyle I've heard of for sure
21:44 pdurbin nice rant: http://bitquabit.com/post/unorthodocs-abandon-your-dvcs-and-return-to-sanity/

| Channels | #sourcefu index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

http://sourcefu.com