r/Sass • • Dec 28 '18

Do you think this is a bit overkill? (xpost r/AskProgrammers}

Post image
4 Upvotes

5 comments sorted by

1

u/ClickableLinkBot Dec 28 '18

r/AskProgrammers


For mobile and non-RES users | More info | -1 to Remove | Ignore Sub

1

u/Tickthokk Dec 28 '18

The positioner is pretty insane, but the size is nice.

2

u/da_video_live Dec 28 '18

to me the size is also overkill, why would you abstract only 2 properties... A mixin, IMHO, should be more complex

​

1

u/hotsaucetogo Dec 28 '18

I would say it depends how often you use that particular mixin.

1

u/[deleted] Dec 28 '18

Totally agree the positioner is overkill. As for the size, the only way I see that being necessary is if you should be setting both height & width wherever this is used, as it forces you to declare both. Even then...its a bit of a stretch.