• talkingpumpkin@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    1 day ago

    I won’t comment on:

    Claude Code Co-designer & Implementer Every line of code, tests, and docs

    but, even so,… what’s the point of this expression language?

    Why would I want to “compile”

    let x = 12, y = 13 in x + y
    

    as javascript

    (function (_) {
      return (() => {
        const x = 12;
        const y = 13;
        return x + y;
      })();
    });
    

    ruby

    ->(_) {
      (x = 12; y = 13; x + y)
    }
    

    or sql

    (
      SELECT
        (
          SELECT
            x + y
          FROM
            (
              SELECT
                13 AS y
            ) AS _let
        )
      FROM
        (
          SELECT
            12 AS x
        ) AS _let
    )