eclipse-archived / golo-lang

Golo - a lightweight dynamic language for the JVM.
http://golo-lang.org/
Eclipse Public License 2.0
477 stars 91 forks source link

Documentation and Samples improvement(s) #393

Open k33g opened 8 years ago

k33g commented 8 years ago

WIP

⚠️ To my mind Golo documentation shouldn't look like the documentation of Haskell or Scala :stuck_out_tongue_closed_eyes:

❓ I think that Functional Errors and Asynchronous programming helpers deserve their own section (instead being part of "misc modules")

WDYT? @jponge @Artpej @yloiseau and the others

yloiseau commented 8 years ago

I don't get your first point... (see http://golo-lang.org/documentation/next/golodoc/gololang/Functions.html)

k33g commented 8 years ago

@yloiseau yes, but not in the "guide": http://golo-lang.org/documentation/next/index.html

yloiseau commented 8 years ago

I'm not sure that it's relevant to dedicate a guide (sub)section for each and every standard module. I view the guide as a documentation on the language itself, along with the paradigms and spirit, not an extensive documentation. The module documentation is the place to document them (thanks captain obvious!) As an analogy, languages with batteries included (like python or java) don't document every standard module/package, but more the spirit and techniques, and references the API doc. The python documentation is better integrated however, and I indeed think we could work on integrating the guide, golodoc and javadoc in a more homogeneous site/documentation). As for the Function module you mention, it's just a collection of useful function that does not require a explanation in itself, provided the golodoc is well written :wink: , contrary to the error management and asynchronous programing, which are difficult topics in themselves (and actually probably deserve their own section, I agree).

However:

  1. several modules documentations can surely be improved
  2. we can add sections to the guide, or improve existing ones, on specific topics or paradigms, in the same vain as your #392 and #394 question, but it's more the subject of a «Real World Golo» or «Golo Cookbook» book :smile:
k33g commented 8 years ago

@eclipse/eclipse-golo 👋 I'm testing the notifications to the team. Where to create the Golo Cookbook?