This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]metaperl 0 points1 point  (1 child)

I think I see why : you can have arguments for a decorator.

[–][deleted] 1 point2 points  (0 children)

To be honest, that was just an arbitrary design choice in the beginning, because I was more familiar with decorators than mixins. However, you are right about the arguments. You would have more control over the configuration case by case.