Skip to content

Code Equality / Normal Form #92

Open

Description

@stevekrouse

data path independence, sql, format, http://alasql.org/, dicts vs other, etc / most essential way to express things - when stripped down must there be only one way to express an idea? for example, two more than y is x+2 (but also 2+x) but they represent the same idea. is it the same in programming or are must there be many paths?

Activity

  1. stevekrouse commented on Dec 3, 2018

    @stevekrouse
    CollaboratorAuthor

    https://futureofcoding.org/log#equality-of-code

    I asked Paul Chiusano about hashing code that’s equivalent but syntactically different, such as 1+x and x+1, and apparently Unison “doesn’t normalize commutative operations.” Some relevant links he sent me are Normalizing and Rice’s Theorem.

  2. stevekrouse commented on Dec 3, 2018

    @stevekrouse
    CollaboratorAuthor

    Complete language (less Turing complete but always terminate)

  3. stevekrouse commented on Dec 3, 2018

    @stevekrouse
    CollaboratorAuthor

    Ability for the compiler to magically knows when I want lazy and when I want strict (and other language features a la carte, like Haskell language extensions)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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