About 50 results
Open links in new tab
  1. Is committing/checking in code everyday a good practice?

    Jul 6, 2012 · 111 I commit code several times a day. Whenever I reach a point where the code is complete enough to compile and doesn't break other things, it goes in. You should look at breaking …

  2. development process - Should PR reviews check for code correctness ...

    May 29, 2022 · 1 and 2 check that the person who wrote the code has checked that it worked so you dont have to. 3 checks that what they think "working" means is the same as what you think "working" …

  3. When is it acceptable to commit directly to main/master?

    Dec 7, 2024 · Committing directly to main is discouraged because it bypasses code reviews, risks broken builds, and potentially reduces traceability. However, I can think of certain small, low-risk …

  4. Should one check for null if he does not expect null?

    The question was: should you always check for nulls and make your code work no matter what, or let an exception bubble up when a null is received unexpectedly? On one side, checking for null where you …

  5. Approaches for checking multiple conditions? - Software Engineering ...

    What is the best practice for checking multiple conditions, in no particular order? The example in question needs to check four distinct conditions, in any order, and fail showing the correct error

  6. clean code - Is redundant condition checking against best practices ...

    Nov 26, 2016 · In the context of "Clean Code", one could ask if a double check violates the DRY principle. Actually, sometimes it does, at least to some minor degree: input validation can be …

  7. testing - What to cover with integration tests? - Software Engineering ...

    Dec 21, 2023 · For integration tests which execute large amounts of code that are ancillary to the actual test, how do you measure the coverage of what is actually tested and checked by the tests, as …

  8. How to check whether existing code base can deadlock

    May 30, 2019 · The second easiest is to split your code into tasks, run using std::async or in your own threadpool with std::packaged_task or similar - it's more general than the thread-per-component …

  9. Shelving code in Team Foundation Server (TFS)

    Apr 4, 2012 · 1 My team shelves code when they want to share something with another developer without having to check in that code (vacation, vetting prototype, building one change set on multiple …

  10. source code check in / validation best practices

    I am looking for best practices that big organizations follow for code check-in and validations. Currently we follow these steps, - Developer writes code - Developer do some initial tests - Code is