3 ms·
I see the point, but when you have to duplicate the code like here for the `50px`, you should use something like SASS/LESS to put the value in one place and the
by hk__2 13y ago
I see the point, but when you have to duplicate the code like here for the `50px`, you should use something like SASS/LESS to put the value in one place and then use a variable everywhere.
- edanm 13y agoAgreed completely. Of course, you're still going to run into hundreds of situations where you have semi-duplicate code. That's just how real-world programming works.