Skip to content
This repository was archived by the owner on Dec 21, 2018. It is now read-only.
This repository was archived by the owner on Dec 21, 2018. It is now read-only.

An improvement for when you refactor #43

@theoriginalbit

Description

@theoriginalbit

When you're going through and refactoring, I suggest that on any object functions that are not getters of properties, or return any form of value, to return itself, in your case this.

Implementing this doesn't change anything for you, it just adds some other options for developers by allowing them to use the method chaining pattern. An example of method chaining in Lua can be found here.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions