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

about naming, consistency, name clashes, module organisation #7

@rvion

Description

@rvion

I love OutWatch's overall design, but have some issues with consistency, modules organisation, and naming clashes (I saw the latests re-organisation commits, but I think there is more to discuss)

Purescript

names like div are really annoying to use because they clash with prelude.
name like tpe are also annoying to use because they are harder to remember

would it make sense to follow lucid design and prefix or postfix everything with an _ ?

  • no more Names that conflict with base (div, id, head, map) -> only: div_; ul_, id_, etc.
  • no more names that are keywords, (type -> tpe or type_ or ..., class -> cls or class or ...) -> only class_, type_, etc.

it could also help adding back an global OutWatch that reexport most useful functions

(to see some more lucid examples, github link is here: https://github.com/chrisdone/lucid)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions