Coder Social home page Coder Social logo

Read only SoS variable? about sos HOT 3 CLOSED

vatlab avatar vatlab commented on July 26, 2024
Read only SoS variable?

from sos.

Comments (3)

gaow avatar gaow commented on July 26, 2024

Reminds me of c syntax like "#define pi 3.14" ... Perhaps use all capital convention for this type of variable? e.g., PI = 3.14. Usually people will not use all cap in their scripts. Also if this needs to be adjusted it is always possible to re-assign to a tmp var and adjust from there.

from sos.

BoPeng avatar BoPeng commented on July 26, 2024

Ok, I will implement the warning system.

Bo

On Sat, Mar 12, 2016 at 9:56 PM, gaow [email protected] wrote:

Reminds me of c syntax like "#define pi 3.14" ... Perhaps use all capital
convention for this type of variable? e.g., PI = 3.14. Usually people will
not use all cap in their scripts. Also if this needs to be adjusted it is
always possible to re-assign to a tmp var and adjust from there.


Reply to this email directly or view it on GitHub
#11 (comment).

from sos.

BoPeng avatar BoPeng commented on July 26, 2024

Done, along with warning for the use of name with leading _.

from sos.

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.