Giter VIP home page Giter VIP logo

Comments (7)

 avatar commented on September 23, 2024

If it's re-usable, then the function can be put in the library. If it's not, it doesn't belong in a library -> seems reasonable to me.

from bunsen-pipemenus.

johnraff avatar johnraff commented on September 23, 2024

For example, browserExists(), screenshooterExists could be replaced by appExists(), slightly rewritten to allow different arrays to be accessed. Such an appExists() might be re-usable in a different part of the forest.

BTW is .cfg really a suitable file ending for a collection of shell functions?

from bunsen-pipemenus.

capn-damo avatar capn-damo commented on September 23, 2024

"It would be more elegant, but is it worth the effort?"

Yes it would be better to have library functions, but since it doesn't affect anything atm is it worth the effort of re-writing scripts at this stage? It could be left for BL Deuterium (aka BL Hydrogen 1.1 )

from bunsen-pipemenus.

johnraff avatar johnraff commented on September 23, 2024

^true. There's plenty of stuff to sort out as it is.

from bunsen-pipemenus.

 avatar commented on September 23, 2024

^ Agreed. So I suggest to keep things private that don't need to be public :D

from bunsen-pipemenus.

AlexDaniel avatar AlexDaniel commented on September 23, 2024

What do you mean by private? Just use another branch, perhaps?

from bunsen-pipemenus.

 avatar commented on September 23, 2024

Not in a library but in the files. No library. Like functions declared static in C. A bit unlucky choice of words on my side.

from bunsen-pipemenus.

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.