Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Kind of meta question:

  local engine = EngineFactory.new()
I expect that a new instance of a factory class is a factory, not an engine. To get an engine, just create a new instance of an engine class.

Examples of what I expect:

  local engine = Engine.new()
or a more convoluted

  local factory = EngineFactory.new()
  local engine = factory:build_engine()


Good catch. I will fix this, thank you!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: