local side-effects

What Are Side Effects

Reading Time: 3 minutes SIDE EFFECTS A Side effects is something that changes the state of computer or your programme beyond just giving back a value. Side effects are considered bad, because, a function with side-effects are unpredictable ,depending on the state of the system. When a function has no side effects we can execute it anytime, it will always return the same result, given the same input. When Continue Reading