cedric
01/15/2018, 6:09 PMstatic
is often misunderstood (and Gilad is missing a few points too). When misused, static
makes things hard to test but it's also not optimal to make a function an instance function when it doesn't need an instance to operate (this increases coupling for no reason).