News for hackers. Stuff that matters.
Re:The Unix Philosophy by justwannasing on Thursday June 25, 2015 @08:09AM (#9777276)
Are you saying you disagree with the use of subroutines, functions and interfaces? After all, they are essentially small programs that do one thing and do it well.
Re:The Unix Philosophy by cousin_it on Thursday June 25, 2015 @08:50AM (#9777470)
Note the part about text streams in fauigerzigerk's comment. If all functions were limited to accepting a text stream and returning a text stream, the overall program would quickly become a ball of mud.
Re:The Unix Philosophy by fauigerzigerk on Thursday June 25, 2015 @10:40AM (#9778186)
No, I don't disagree with the use of functions or interfaces at all, but functions in particular are a programming language construct and as such not easily extended across programming languages, processes and networks, mostly due to different type systems and error states.

I think it's not an accident or historical vestige that Unix philosophy uses the word "program". It has technical as well as social implications that have barely changed in the past 50 years.

Functions and programs are certainly not an either-or kind of thing but making them one and the same would require a very different kind of operating system than we have ever seen. Say, emacs OS :)

Re:The Unix Philosophy by justwannasing on Thursday June 25, 2015 @11:59PM (#9782418)
Then I think you are confused or inexperienced because Unix does not treat everything as a text stream and you say functions in a programming language are different so they are better is not a wise statement. It appears you don't understand the fundamental concept and think Unix hasn't improved over the years.
Re:The Unix Philosophy by contingencies on Thursday June 25, 2015 @10:47PM (#9782217)
Functions in particular are a programming language construct and as such not easily extended across programming languages, processes and networks, mostly due to different type systems and error states [...] it's not an accident or historical vestige that Unix philosophy uses the word "program". It has technical as well as social implications that have barely changed in the past 50 years.

Insightful.