3 ms·
> if you think of variable assignments as queries to the compiler Why should I? I mean, I very much want to be able to make queries of the compiler and I thin
by dllthomas 4y ago
> if you think of variable assignments as queries to the compiler
Why should I?
I mean, I very much want to be able to make queries of the compiler and I think the notion of programming as productive conversation with the compiler (and other tooling) is a wonderful perspective. I should absolutely be able to ask questions of the compiler, and have it keep an eye on some things while I change other things. What I don't see is why I should be forced to make such a request just because I want to give some intermediate value a name. It seems to me that I should be able to do either, both, or neither of those as appropriate.