Welcome to the Treehouse Community
Looking to learn something new?
Nick Knight8,714 Points
Extends vs. Mixins
I read through many articles on this topic as well as a discussion from two years ago on treehouse.
To me mixins create a file easier to read compared to extends. You don't have selectors repeating themselves, however, you get styles repeating themselves. It seems like the size of the file would change so little that that shouldn't be a determining factor. Plus, mixins are more versatile.
Have there been any recent changes to this debate or is it still a toss up?
Kevin Korte28,109 Points
I generally like mixins over extends as well, and you should be able to get a smaller compiled codebase with mixins over extends, if I remember correctly.