Closed Makvagabo closed 8 years ago
Actually, the less version of Bootstrap uses extends and the sass version uses mixins (in the case of the clearfix hack). Maxime probably chose to use extends in the stylus version to avoid code duplication inherent to mixins.
I thought that extends were better than mixins for performance and compaction reasons, but that article changed my mind.
Extend also has a few caveats, I'm all for mixins as well.
I'm not super active on developing bootstrap stylus but I do take pull requests and merge them when they make sense.
As this issue already got an merged patch, I guess it can be closed.
Sass @include != Stylus @extend Example
I think it must be that