Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Add Docs for First Class Modules #146

@ryyppy

Description

@ryyppy

First Class Modules were not documented in Reason so far, mostly on purpose to not overwhelm early adopters of the language, and due to fear that ppl will go crazy with abstractions when learning these concepts.

Let's propose to create a document in the Reason Manual within an "Advanced" section, explaining the concepts of FCM (also the acronym):

  • How do you write / use FCMs
  • When are they useful?
  • When NOT to use them / offer alternative patterns
  • Hint on performance / readability / generated output implications in JS (only use them when really needed, good hints on API building practise)

Examples should be less abstract, no single letter placeholders, no Mathematical patterns, in best cases UI related.

Related to #145

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsTechnical writinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions