logoalt Hacker News

titzer • today at 3:25 PM • 0 replies • view on HN

> a property of a function, not an algorithm

You wanted to be pedantic and yet this is also a misconception. All computable functions have (some) algorithm to compute them. All algorithms are computable functions (maybe partial). If we're not talking computable functions, I don't know what we are talking about. Also, you got that backwards; functions are mappings from inputs to outputs and algorithms are deterministic processes to compute such outputs; algorithms have complexity bounds and not necessarily functions.