1
theuser
5y

Junior frontend here, I really fucked up with SCSS nesting. It's a nightmare to go back and maintain or extend the UI. I really should go back and sort this shit out. Some parts of the hierarchy even contains pointers which I phased out long ago, but somehow it still works.

Let this be a lesson. -_-

Comments
  • 2
    @norman70688 I won't tell how deep it goes, it just seemed like a good idea at the time..
  • 0
    @Charon92 I have never used it no, probably should've used it from the getgo. Large refactoring is not an alternative because of time contraints.
  • 0
    5 levels here, still pretty manageable (putting emphasis on vertical order) u_u
  • 1
    @h4xx3r I'm about in the same ballpark. I found it worked great when I initially laid out the elements according to the mockup. The hierarchy perfectly mirrored the HTML hierarchy, but once the choppin' and the changin' started, the structure started sliding down the shitter.
  • 0
    @theuser yep, that requires extra care
Add Comment