Click here to Skip to main content
15,895,799 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: Today in the news: Why Builds Fail Pin
Stefan_Lang29-Jun-14 23:29
Stefan_Lang29-Jun-14 23:29 
GeneralRe: Today in the news: Why Builds Fail Pin
PIEBALDconsult26-Jun-14 8:25
mvePIEBALDconsult26-Jun-14 8:25 
GeneralRe: Today in the news: Why Builds Fail Pin
Joe Woodbury26-Jun-14 8:29
professionalJoe Woodbury26-Jun-14 8:29 
GeneralRe: Today in the news: Why Builds Fail Pin
Member 472408426-Jun-14 19:29
Member 472408426-Jun-14 19:29 
GeneralRe: Today in the news: Why Builds Fail Pin
Simon O'Riordan from UK26-Jun-14 20:51
Simon O'Riordan from UK26-Jun-14 20:51 
GeneralRe: Today in the news: Why Builds Fail Pin
Member 472408426-Jun-14 20:59
Member 472408426-Jun-14 20:59 
GeneralRe: Today in the news: Why Builds Fail Pin
sir_download_alot26-Jun-14 22:21
professionalsir_download_alot26-Jun-14 22:21 
GeneralRe: Today in the news: Why Builds Fail Pin
Stefan_Lang29-Jun-14 22:16
Stefan_Lang29-Jun-14 22:16 
I wonder how long it will take for someone to produce a study that finds "sawing reduces carpenters' productivity!".

What concerns me more though, is the notion that compiler errors are a bad thing: Me, I *want* the compile to fail as often as possible, rather than have the program fail at runtime! I specifically design my code to fail at compile time if anyone uses it in an unintended way!

Also, when I write such code, I do test that the compiler really issues an error. I consider that a build success though, not a build failure!

Besides, I often use templates and other complex code constructs, and sometimes it simply takes less time to just do a quick compile rather than brood over the code for hours and wonder whether the syntax is actually fine. My brain isn't hard-wired to do syntax checks - so why shouldn't I use the compiler for that purpose?

Also I often try to eliminate #includes that I believe are no longer necessary (specifically in header files). Considering the convoluted mess of system include files, there is no way to find out without running the compiler!

Conclusion:
Compiler errors are a good thing! They're easy to fix, and safe me a lot of effort on code inspection. Anyone who builds compilers with the goal to reduce compiler errors has missed the point entirely! Compilers should be built to point out as many errors as possible. That's why we have strongly typed languages after all!
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

GeneralRe: Today in the news: Why Builds Fail Pin
Simon O'Riordan from UK29-Jun-14 23:20
Simon O'Riordan from UK29-Jun-14 23:20 
GeneralHoly moley! Pin
OriginalGriff26-Jun-14 1:25
mveOriginalGriff26-Jun-14 1:25 
GeneralRe: Holy moley! Pin
DaveAuld26-Jun-14 1:38
professionalDaveAuld26-Jun-14 1:38 
GeneralRe: Holy moley! Pin
CHill6026-Jun-14 2:02
mveCHill6026-Jun-14 2:02 
GeneralRe: Holy moley! Pin
OriginalGriff26-Jun-14 2:36
mveOriginalGriff26-Jun-14 2:36 
GeneralRe: Holy moley! Pin
DaveAuld26-Jun-14 3:35
professionalDaveAuld26-Jun-14 3:35 
GeneralRe: Holy moley! Pin
Corporal Agarn26-Jun-14 3:47
professionalCorporal Agarn26-Jun-14 3:47 
GeneralRe: Holy moley! Pin
OriginalGriff26-Jun-14 4:42
mveOriginalGriff26-Jun-14 4:42 
GeneralRe: Holy moley! Pin
Rob Philpott26-Jun-14 1:58
Rob Philpott26-Jun-14 1:58 
GeneralRe: Holy moley! Pin
Abu Mami26-Jun-14 2:28
Abu Mami26-Jun-14 2:28 
GeneralRe: Holy moley! Pin
OriginalGriff26-Jun-14 2:39
mveOriginalGriff26-Jun-14 2:39 
GeneralRe: Holy moley! Pin
Abu Mami26-Jun-14 2:46
Abu Mami26-Jun-14 2:46 
GeneralNow That's What I Call Sports Day Pin
Nagy Vilmos26-Jun-14 1:22
professionalNagy Vilmos26-Jun-14 1:22 
GeneralRe: Now That's What I Call Sports Day Pin
OriginalGriff26-Jun-14 1:27
mveOriginalGriff26-Jun-14 1:27 
GeneralRe: Now That's What I Call Sports Day Pin
Nagy Vilmos26-Jun-14 1:33
professionalNagy Vilmos26-Jun-14 1:33 
GeneralRe: Now That's What I Call Sports Day Pin
OriginalGriff26-Jun-14 1:48
mveOriginalGriff26-Jun-14 1:48 
GeneralRe: Now That's What I Call Sports Day Pin
Nagy Vilmos26-Jun-14 2:19
professionalNagy Vilmos26-Jun-14 2:19 

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.