3 ms·
I think it comes down to the same reason algorithm papers use psuedo code rather than a particular language - the point is to represent the main idea clearly, r
by sophacles 11y ago
I think it comes down to the same reason algorithm papers use psuedo code rather than a particular language - the point is to represent the main idea clearly, rather than bog down the reader in all the accounting and syntax of a particular language.
Details about a particular variable's type, or a languages semantics don't tell me anything about (in this case) chebyshev or taylor functions, but to follow the code I'd have to internalize the interactions of those things, along with the actual math for it all to make sense.
Consider it an abstraction layer for learning. Just like when dealing with files on disk I use open(), read(), etc rather than work in my fs + hdd controller.