News for hackers. Stuff that matters.
Re:Application-as-a-Function Thinking by mpweiher on Sunday October 16, 2022 @05:09PM (#33227221)
1. The shell is not calling functions, it is composing filters via I/O. Superficially similar, but actually quite different. (And how it makes it superficially look like function application is also quite interesting, IMHO).

2. But yes, programs that act like functions definitely do exist. They even used to be in the majority.

3. ALGOL stands for ALGOrithmic Language. It's a DSL for the domain of algorithms. As are virtually all our mainstream so-called "general purpose" languages.

Re:Application-as-a-Function Thinking by carapace on Monday October 17, 2022 @01:40PM (#33237095)
In re: #1 that's the kind of discussion I could have all day. (If you take the state of the machine including the filesystem, then almost all non-networked programs could be treated as pure functions, eh?)

#2 so how does that modify your original comment, if at all?

#3 What would you contrast our mainstream so-called "general purpose" languages with?