Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "mixins"
-
Damn, CSS Grid and Flex are fucking awesome!
I've been using both at least a year now and with a handful of SCSS mixins they have made the never-ending misery of front-end bearable.
Before I was forced to use Bootcrap floating grid and it was just a fucking mess and in some cases made JS hacks necessary.4 -
!rant
today at work i (frontend dev) had an argument about some scss mixins issues, with my boss (senior dev). Not going into detail, I really thought that my method was a lot more efficient and defended my argument strongly until the end. In the end of discussion I saw/accepted that boss' method was better and he said he's nevertheless proud of me for defending what I believed was right. (it's been 2 years since I moved into this country and its language is my 5th one, so I'm only level B2, most of the time I back up from having a deep discussion knowing that my language skill won't take me that far) I really appreciated that feedback from him and it truly made my day. Thank you boss! You're cool! -
Reading Python code written by Java programmers. I have no words to describe the horror. CamelCase everywhere...undefined fuck java why are there so many files have you ever heard of mixins? why do you write java in python who told you to put everything inside classes2
-
Prettier breaks mixin formatting and there's absolutely no way to configure it.
Disgusting, right?
And this is why "opinionated" is a negative adjective and its positive counterpart is "adaptable".18 -
My whole workflow for HTML is frustrating. I rather write pug, because it has mixins, includes and isn't that fucking repetitive. But to write pug within Laravel blade views, I have to preprocess it too blade. Then sometimes the syntax gets crazy because of escaping blade loops like an insane guy ('| @foreach($foo as $bar)'), but you get used to it after time.3
-
"Stop using mixins in your SASS it's complicating the code for the team.
Extend your classes instead"1 -
When you join a project that has no testing, no component policy, a lot of css mixins, that has to work simultaneously as a pwa, android and ios app.
Oh, yes, obviously no documentation at all *flips table*2 -
What if life had hooks like of Reactjs
personWillWake()
personWillSleep()
personShouldPee()
personDidPoop()
and we just run our mixins there1 -
Not following the front end "standards" of the company I work for ( Sass variables, Methods, CSS frameworks, mixins, etc.) even though we had a meeting talking about following standards to improve the workflow a day before.2
-
Can you provide me a standard CSS template, like which includes all necessary mixins, extends, functions, etc. to start with a project?
There's so much incoherent information out there and I'm stuck only at the start of the project.2 -
Just finished updating a Laravel project to use page-specific dynamic JS imports using webpack mixins.
Everything feels so clean and manageable. I am zen......