Skip to content

Extensive use of dart extensions #92

@rfuerst87

Description

@rfuerst87

While debugging #91 I noticed the extensive use of dart extensions all over the code base. May I ask what the intention behind this design decision is?

As far as I can see I noticed the following pattern:

  • Extensions (with only a few exceptions) are applied to self-owned classes
  • Extensions are all private to their respective classes
  • Some extensions define the same method signatures on classes their applied on

In my opinion all this diminishes readability of the code. Why not use proper interface definitions and plain old methods instead?

Thanks for a quick feedback!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions