2 ms·
Explicitly building a dependency graph is cumbersome. I'd rather see my programming language (compiler) building it implicitly as the program runs.
by amelius 11y ago
Explicitly building a dependency graph is cumbersome. I'd rather see my programming language (compiler) building it implicitly as the program runs.
- davexunit 11y agoWhat? It's no different than saying which inputs are passed to a function. Also, languages with macros can add some nice syntactical sugar on top. JavaScript, of course, doesn't have a macro system so there's not much we can do there in that regard.
- amelius 11y ago> It's no different than saying which inputs are passed to a function. In that case, why isn't it just (more or less) equal in syntax to a function call? Why do I need to build a graph, where a functional language would just let me build it implicitly.