Hacker News new | ask | show | jobs
by hliyan 2696 days ago
Agreed. I personally find it very difficult when abstractions are named after the design pattern rather than the purpose. E.g

  class B
  import com.acme.b.BRepository
  class BImpl extends B
  BFactory.getInstance(STANDARD_B)
  b.process(); // this is all we want, doB()