DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Discussion on: Pure vs Impure Functions

Collapse
sanspanic profile image
Sandra Spanik Author • Edited on

Great, I want to be exact in the language I use so thank you for commenting :) I edited β€œconsidered pure” to β€œtypically associated with pure functions”.

As for the definition, I found it elsewhere. Before I update it, let me try and see if I’m parsing what you’re saying correctly: you’re saying that while my definition describes some side-effects, it doesn’t describe ALL side-effects, because there are some which are indeed related to computing the final output. Is that right?