3 ms·
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 l
by AlienRobot 2y ago
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.
- tonymillion 2y agoAt that point you’re almost, but not quite into the realm of “forth”