Better HN
topnewbestaskshowjobs
Log inSign up

dwhitty

9 karma · joined Nov 22, 2011 (15y ago) · 3 submissions

Submissions

comment 15y ago · link · parent

Can you share your insider perspective on Steve Yegge's infamous rant on SOA at Google and Amazon?

https://plus.google.com/112678702228711889851/posts/eVeouesv...

comment 15y ago · link · parent

It is a perfectly defensible goal to have some or many pure functions within an imperative programming environment where state is persisted in variables outside of the library of pure functions. I don't think it is fair to equate pure functions with pure functional programming.

In a mixed model, you can have a mutable state but still have a large bank of trustable, testable, parallelizable behaviors defined in pure or deterministic functions with well defined contracts of input and output states.

comment 15y ago · link · parent

The methodology espoused in this article presents a good case for composing programs from discrete pieces of behavior with referential transparency (pure, or at least deterministic functions).

"Sometimes, the elegant implementation is just a function. Not a method. Not a class. Not a framework. Just a function."

- John Carmack (Twitter) http://twitter.com/#!/ID_AA_Carmack/status/53512300451201024

Not "sometimes", "mosttimes"!