MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/4zukyt/is_your_javascript_function_actually_pure/d6z4dqo/?context=3
r/javascript • u/vinnl • Aug 27 '16
48 comments sorted by
View all comments
-1
Who cares if it is pure?
5 u/misc_ent Aug 27 '16 Anyone who doesn't want side effects in their functions? Not trying to be snarky as that's literally the reason. 9 u/Prince_Houdini Aug 27 '16 I don't want side effects in my functions, but I don't care if my functions are "pure" in the sense the author uses here. The colloquial sense of pure - same input = same output in normal circumstances - is enough for me.
5
Anyone who doesn't want side effects in their functions? Not trying to be snarky as that's literally the reason.
9 u/Prince_Houdini Aug 27 '16 I don't want side effects in my functions, but I don't care if my functions are "pure" in the sense the author uses here. The colloquial sense of pure - same input = same output in normal circumstances - is enough for me.
9
I don't want side effects in my functions, but I don't care if my functions are "pure" in the sense the author uses here. The colloquial sense of pure - same input = same output in normal circumstances - is enough for me.
-1
u/DrGarbinsky Aug 27 '16
Who cares if it is pure?