Comment

Comment by rverghes

He's assuming that the static method has a dependency on something. That it's not purely functional. For example,

  public static doSomething() {
    Database.write("Did something")
  }
Makes testing hard because Database is hardcoded.
parent rverghes 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton