Skip to content

Style rule 14. #2

@bjornj12

Description

@bjornj12

14. ALWAYS use Js.Array2 and Js.String2. NEVER use Js.Array and Js.String. This is required to keep the => piping consistent.

What are you using JS.array and Js.String for so much that it requires this rule?
And when you say the => piping consistent, can you give an example?

Would it make sense to just create an extention file of Js to avoid this?

include Js;

module Array = Array2;
module String = String2; 

Something in that direction?

nice Style guide! 💯

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions