DEV Community

Lukas Gaucas
Lukas Gaucas

Posted on

Software engineering : principle of precedence

I am writing PWA that bears resemblance to DESMOS but available offline for kids that has limited-internet access . Besides the npm structure for package development, etc. I had to revise some of the principles of "software engineering" such as precedence , which by convention is (listed from highest to lowest precedence) :

  • 1st lookup for environment variables in CLI : user-level, could be admin but not-mandatory, when...

  • 2nd lookup for local configuration : user-level, could be admin but not-mandatory, when...

  • 3rd, lookup for global configuration : system-level, super-user

As this is "live" document , more practical side will coming soon, stay tuned !

Top comments (0)