Comment

Comment by masklinn

> A procedure is fundamentally different from a function from a reasoning-about-the-code perspective.

They really are not unless the langage puts specific limitations or features on one or the other.

And odds are the average “procedure” should not be one, because it only exists for its side effect but then provides no feedback about these side effects.

parent masklinn 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton