Languages vs Programmer Bugs
The cluster debates whether programming languages like C inherently encourage bugs through poor design or if bugs are solely due to programmer errors, highlighting compilers' reliability in catching issues over human mistakes.
Activity Over Time
Top Contributors
Keywords
Sample Comments
Or C code wouldn't have any bugs if developers were more careful?
Some programming languages and runtimes encourage writing more bugs.
The word is bugs. It's very hard, and almost impossible to fix all bugs. Code with no bugs is really code with no known bugs. Especially when dealing with C and assembly, different parts of the code can effect other parts in ways a programmer may not anticipate. You really need to get a 'safer' language to prevent certain types of bugs, especially with the "data and code share the same segments" model of C.
I don't think there is a language that can guarantee correct operation when you write bugs in it ;)
Theoretically, but humans are less reliable than a compiler at catching issues.
The average developer is typically more error prone than their compilers is.
Programmer's habits are possibly less reliable than requirements enforced by the compiler.
You statement about absolute correctness doe snot really make sence -vast majorulity of bugs in all software I've ever used are not due to the language design, but are due to blatant mistakes of the application developers.
It's possible to write buggy software in every language.
A language that makes it more difficult to write bugs.