cucumber/cucumber-js — comment on commit 1e29b6a0952aa08d09470d4cd21714fca1c8f6d0
File: README.md line 167
By jbpros:

I like 'done()' better than 'next()'. It's focused on the current step instead of the step flow.

I thought of adding some predefined things like 'done()' to the default World (which can already be extended BTW, you don't have to overwrite it). But it would pollute its namespace. I like the idea of having a clean empty "userland" (I.e. World) in which end users do whatever they want/need. And that you can replace it with any other object.

Also, the explicit stepdef parameter is a neat reminder that you actually have to call it. Not calling the callback leads to [bad things](https://github.com/cucumber/cucumber-js/issues/27).

PS: sorry for this bad layout, iPad typing here.