by usrusr · 4y ago · 0 comments
The biggest limiter that keeps people from replacing more local scope imperativity with expression style seems to me that very practical, almost depressingly mundane topic of debuger ergonomics. Stepping through and looking at intermediates just works, and it's so easy that the mind can remain focused on the domain problem. If there was some miracle UI paradigm that provided similar ease of understanding to deeply nested expressions we'd hardly see any local vals at all. But I doubt this miracle UI will ever happen, we do know that it hasn't happened in decades of trying to make excel expressions more approachable, with presumably millions of dollar thrown at the problem.
But it was a different local maximum a decade ago, when every language and its dog became OO. And perhaps a decade from now, it will be another.