Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As someone who has been doing Raku for several years now, I will say the documentation is both great and also lacking. Most of what's there is well written and includes useful example code, but I occasionally run across things that either haven't been documented at all or have only been documented for simple cases.

The worst offender in my experience is the module system. There are docs around it, but they would benefit from a rewrite with a less "technical" audience in mind. The module/package distinction is difficult to wrap your head around just from reading the Modules page. The fact that the declared namespace of what you import can be different from the namespace you used to import, but the directory structure has to match the namespace for the compiler to find it... it's useful and makes sense in a strange way, but I had to learn that by fiddling around.

  # in Name/Space/Thing.rakumod
  unit class Thing { … }

  # in UseCode.rakumod
  use Name::Space::Thing;
  my Thing $thing .= new: …;


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: