Code Monkey home page Code Monkey logo

Comments (6)

Keats avatar Keats commented on July 21, 2024

I don't find the first one very readable but the second one looks very good.
Overall I still prefer commenting/adding/removing/moving lines easily, so the one currently recommended still wins for me.

from sass-guidelines.

MichaelArestad avatar MichaelArestad commented on July 21, 2024

Adding/removing/commenting is still just as simple with the exception of the last item. For some reason, repeating @import over and over just feels like visual clutter to me.

from sass-guidelines.

KittyGiraudel avatar KittyGiraudel commented on July 21, 2024

Nope on the first. Perhaps on the second, although I am really not convinced at this point Michael.

from sass-guidelines.

MichaelArestad avatar MichaelArestad commented on July 21, 2024

Neither am I, to be honest as the gains are pretty marginal. I do think it's worth a little discussion, though.

from sass-guidelines.

sturobson avatar sturobson commented on July 21, 2024

I've started going with 'number 2' as it just saves a little bit of time writing it out. Tabbing (where my IDE creates spaces) is quicker than writing @import on every line.
In terms of gains: There's better readability as you can concentrate on the files you're pulling in as you're not laboured with @import everywhere and if you've a long manifest of imports it'd be a lot easier. in my most humblest of opinions.

from sass-guidelines.

KittyGiraudel avatar KittyGiraudel commented on July 21, 2024

I like the second version as well. I might consider switching to it.

from sass-guidelines.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.