Skip to content

Code Style: express acronyms in capital space #8

@DenisIzmaylov

Description

@DenisIzmaylov

Basic requirements:

  • Keep source code as documentation - lexically and grammarly correct.
  • Keep signatures and API compliant with general (native) API.
  • Express acronyms in capital spaces, e.g. encodeURIComponent, SIMD, decodeURI,
    JSON, NaN, URIError, cipher:setAAD and so on.
  • Keep API predictable - you just know if some part in a name is acronym then write it in capital case. You should not remember where is to write acronyms in lower case, etc. That's why we've updated this pull request.

Current state:

  • README:

    const jss = createJss()
    
  • Probably other places (did not explored the source code deeply yet).

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