Giter Site home page Giter Site logo

Comments (4)

emamd avatar emamd commented on May 30, 2024

from first-visual-story.

palewire avatar palewire commented on May 30, 2024

It seems a little weird to me that the JS files don't have it. I propose that we add it there as well.

My read has always been that "_" prefix denotes that the file is "private" and will not ultimately be published to the live site (because it will be compiled into the main.js file when the site is baked.)

That private convention is generally followed elsewhere in Yeogurt with its folder names, like _scripts. And it's common in other programming languages, like Python's private methods.

from first-visual-story.

emamd avatar emamd commented on May 30, 2024

I just tested it and the SASS files work either way. So I'm happy to have the convention be that child files have underscores in the name, or not.

The disadvantage is they won't always see files like this in the wild, the advantage is that it's a nice way to organize and designate child files, and I like how they get sent to the top of the files list in alphabetical sorting.

If we do it we should point out that they don't have to, but it's a nice convention.

from first-visual-story.

palewire avatar palewire commented on May 30, 2024

Sounds good to me. Let's also remember to point out the underscored folders at some point when we walk the students through the folders created by Yeogurt.

from first-visual-story.

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.