News for hackers. Stuff that matters.
Re:Why Fennel? by AlienRobot on Sunday April 13, 2025 @04:31PM (#43675629)
A bit but I don't like "set foo 32"

One way I think I can get rid of that is like this

    32 = foo;
But why do we even need variables? I think the perfect language design would be if you could just do this:

    pow(x, 2);
    pow(y, 2);
    sqrt() = result;
And maybe you could do this

    {
        pow(x, 2);
        pow(y, 2);
        sqrt();
    } + 1;
    pow(2) = result;
Instead of result = pow(sqrt(pow(x, 2), pow(y, 2)) + 1, 2); that we have today.
Re:Why Fennel? by tonymillion on Sunday April 13, 2025 @06:09PM (#43676223)
At that point you’re almost, but not quite into the realm of “forth”