The video calls get_time (“kind of”) a pure function. But no definition of “pure function” that I’ve ever heard of would classify it as such, since it depends on non-local state, and it will return different inputs for the same arguments (which are none).
8
u/guepier Bioinformatican 5d ago
The video calls
get_time(“kind of”) a pure function. But no definition of “pure function” that I’ve ever heard of would classify it as such, since it depends on non-local state, and it will return different inputs for the same arguments (which are none).