Click here to Skip to main content
15,881,380 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: use of build time Pin
honey the codewitch22-Feb-21 10:36
mvahoney the codewitch22-Feb-21 10:36 
GeneralRe: use of build time Pin
pkfox22-Feb-21 10:52
professionalpkfox22-Feb-21 10:52 
GeneralRe: use of build time Pin
trønderen22-Feb-21 10:58
trønderen22-Feb-21 10:58 
GeneralRe: use of build time Pin
honey the codewitch22-Feb-21 11:49
mvahoney the codewitch22-Feb-21 11:49 
GeneralRe: use of build time Pin
davecasdf23-Feb-21 3:18
davecasdf23-Feb-21 3:18 
GeneralRe: use of build time Pin
honey the codewitch23-Feb-21 6:39
mvahoney the codewitch23-Feb-21 6:39 
GeneralRe: use of build time Pin
Choroid23-Feb-21 7:51
Choroid23-Feb-21 7:51 
GeneralRe: use of build time Pin
trønderen22-Feb-21 10:52
trønderen22-Feb-21 10:52 
I consider it a non-issue.

If you have a proper IDE and build system, and not the least: a well designed project structure, you modify and develop your submodule with incremental compilation and linking of that submodule.

Absolute rule: You never commit any code that is not syntactically correct or violate coding rules (lint style, or whatever you use for static code analysis). If your system is well structured, and your tools are good, you might spend the time having another sip of coffee, not much more.

Good rule: The commit process includes running basic module tests - a subset that runs through all relevant functions of a 'normal' code run, although not with the full set of all corner case inputs.

So you commit your code, knowing that on the build servers, it will not cause any syntactic errors, and no logical errors for the standard usage cases - at least not at the module level.

What do you do? You go on to the next issue to be handled. The next bug to be fixed, or next extension to be implemented. If it turns out that the complete project build causes errors that are not of an integration kind, then you certainly should have a look at your tool setup. That shouldn't happen.

Even for lots of integration issues, usually a lot could have been detected pre-commit. Details depend a lot on IDE/build tool details. And, of course on discipline within the development team, e.g. regarding header files, if you use such a language. Treating interface definitions as immutable. Things like that.

I am not talking about common practice. More like an ideal. But 'best practices' working habits can get you quite close.
GeneralObligatory XKCD Pin
Chris Maunder22-Feb-21 10:57
cofounderChris Maunder22-Feb-21 10:57 
GeneralRe: use of build time Pin
Eddy Vluggen22-Feb-21 12:02
professionalEddy Vluggen22-Feb-21 12:02 
GeneralRe: use of build time Pin
Gerry Schmitz22-Feb-21 12:43
mveGerry Schmitz22-Feb-21 12:43 
GeneralRe: use of build time Pin
markrlondon22-Feb-21 13:04
markrlondon22-Feb-21 13:04 
GeneralRe: use of build time Pin
PIEBALDconsult22-Feb-21 13:10
mvePIEBALDconsult22-Feb-21 13:10 
QuestionRe: use of build time Pin
Randor 22-Feb-21 13:22
professional Randor 22-Feb-21 13:22 
AnswerRe: use of build time Pin
BernardIE531723-Feb-21 7:51
BernardIE531723-Feb-21 7:51 
GeneralRe: use of build time Pin
Kiriander22-Feb-21 21:24
Kiriander22-Feb-21 21:24 
GeneralRe: use of build time Pin
Davyd McColl22-Feb-21 23:17
Davyd McColl22-Feb-21 23:17 
GeneralRe: use of build time Pin
Thornik22-Feb-21 23:11
Thornik22-Feb-21 23:11 
GeneralRe: use of build time Pin
Carlos Perez Chavez23-Feb-21 2:22
Carlos Perez Chavez23-Feb-21 2:22 
GeneralRe: use of build time Pin
  Forogar  23-Feb-21 2:30
professional  Forogar  23-Feb-21 2:30 
GeneralRe: use of build time Pin
Dan Neely23-Feb-21 3:17
Dan Neely23-Feb-21 3:17 
NewsRe: use of build time Pin
W Balboos, GHB23-Feb-21 4:43
W Balboos, GHB23-Feb-21 4:43 
GeneralRe: use of build time Pin
trønderen23-Feb-21 8:39
trønderen23-Feb-21 8:39 
GeneralRe: use of build time Pin
W Balboos, GHB23-Feb-21 8:48
W Balboos, GHB23-Feb-21 8:48 
GeneralRe: use of build time Pin
Kilo2223-Feb-21 19:50
Kilo2223-Feb-21 19:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.