3 ms·
I've been doing front for 18 years and I've sill not figure out how to maintain code with the HTML dom structure and CSS rules coupling. Touch either side, you
by tuyiown 3y ago
I've been doing front for 18 years and I've sill not figure out how to maintain code with the HTML dom structure and CSS rules coupling.
Touch either side, you have to understand the entire codependencies, inheritance rules and edges cases to make any predictions on what will actually happen.
You always can do edit/fix fast cycles, but it always ends up complicating initial code while eroding overall quality.
Good practices to make to whole thing predictable generally fails on edges cases.
Long story short, having each attributes defined, used and moved around independently really really simplify the whole experience, without leaving much things to regret.