Comment

Comment by bc_programming

In this case, By "side effects" I mean non-obvious changes to the static state, Where a seemingly simple function will both rely on static fields to evaluate it's result as well as make changes to various other fields that will subsequently change the result of that function going forward. I don't think one needs a dogmatic adherence to immutability and avoiding side effects to find that to be undesirable.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton