Giter Site home page Giter Site logo

software-guidelines's Introduction

software-guidelines's People

Contributors

es-alexander avatar jaxxzer avatar nicknothom avatar patrickelectric avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

software-guidelines's Issues

Add style for expressions

Patrick likes no spaces for * or / operators, and space for everything else:
if ((_maxDepthToDraw - _minDepthToDraw)*_minPixelsPerMeter < 200) {

I like single space between every mathematical or logical operator:
if ((_maxDepthToDraw - _minDepthToDraw) * _minPixelsPerMeter < 200) {

Is this something we should add a guideline for? or just leave it to preference?

There is also the matter of a space after the if or while statements.

Add explanation of why master branch is protected and push force should not happen

We did discussed that before and we ended up the current approach, minor changes can appear to be safe, but they may not be or could be done in a better way, so to avoid such problem and be sure that we are not doing something crazy, we agreed to have at least a single approved to any PR, more approves may be necessary if the change is complex or if you desire to have more eyes to be sure that the current approach is correct or may broken something that you are not aware.
We have master branch protected for the majority of our repositories.
PR's are really simple to do, and should not hold your workflow, you can open as much PRs that you feel like, or a single PR with a bunch of fixes. If you are waiting to merge something to add to the documentation before talking with an user, you can ping someone directly and we could approve asap.

I generally avoid committing directly to master, ever. Even a pr as simple as this one could break I forgot we are at Python 3.4 and tried to use f-strings in there.
while there is some extra work to it, these ones are pretty easy to do and quick to review.

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.