Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6book, 2017-02-03

| Channels | #perl6book index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
02:49 ilbot3 joined #perl6book
02:49 Topic for #perl6book is now https://leanpub.com/perl6 | logs at https://irclog.perlgeek.de/perl6book/today | announcement at https://perlgeek.de/blog-en/perl-6/2016-book.html
17:56 DrForr joined #perl6book
18:11 cale2 joined #perl6book
18:11 cale2 hey moritz
18:16 moritz hi cale2
18:16 cale2 on line 21 of chapter 4, you introduce "Libraries to the rescue"
18:17 cale2 But DateTime and Date are simply types that are in the langauge
18:17 cale2 They're not really modules or libraries are they?
18:17 moritz they are libraries, just built-in
18:19 cale2 moritz: One thing that really confuses me is when to use the term library, package, module, class, or type
18:20 cale2 DateTime is a type and a class. But it's also a module. Library is a synonym for module.
18:20 cale2 Modules and Classes are both Packages.
18:20 moritz I don't think DateTime is a Module
18:20 moritz m: say Class ~ Module
18:21 moritz yes, modules and classes are specializations of packages
18:21 moritz a library is a more informal term for a collection of reusable software components
18:21 cale2 In Perl6 speak, you'd refer to an informal collection as a package, though, yes?
18:22 moritz no, a package is a very well-defined thing
18:22 moritz basically a namespace
18:22 cale2 A library is a group of packages then
18:22 cale2 I thought a module was a group of packages though
18:23 cale2 I know these questions sound dumb, but it's sort of important to understand if a learner has any hope of contributing to the ecosystem
18:23 moritz not dumb at all; there aren't any good explanations around
18:24 moritz and I'm not inclined to include one in the book, because I don't find that very practical
18:24 moritz and people tend to mix up the terms anyway
18:25 cale2 moritz: Perhaps a smaller guide should be written. Assuming that the reading knows how to write single file scripts, the guide can focus on writing shareable code that can be uploaded to ecosystem
18:26 moritz cale2: that's one of the ideas I've pondered
18:26 cale2 I've pondered writing a small book on Perl6 and putting it on gitbook
18:27 cale2 It would be very opinionated and mostly incorrect I'm sure. But I like the idea of writing things on platforms like gitbook
18:28 cale2 Ah, there's already this: http://examples.perl6.org/categories/module-management.html
18:29 moritz https://docs.perl6.org/language/modules.html#Distributing_Modules also exists
20:19 FROGGS joined #perl6book

| Channels | #perl6book index | Today | | Search | Google Search | Plain-Text | summary