News for hackers. Stuff that matters.
Re:What is reactive programming? by zak_mc_kracken on Wednesday August 13, 2014 @10:33AM (#8173051)
That's called memoization and you usually want to leave this decision up to the caller and not the callee since only the caller knows if they are fine with receiving the same value as calculated previously or whether they want a new one each time.
Re:What is reactive programming? by louthy on Wednesday August 13, 2014 @03:33PM (#8174625)
Only relevant if the function isn't pure.