Liste des Groupes | Revenir à cl c |
On 15.04.2025 16:30, bart wrote:Suppose you have two ways A and B to implement a feature in a language.On 15/04/2025 14:33, Kaz Kylheku wrote:No, there is nothing wrong with the language if you make such errors.On 2025-04-15, bart <bc@freeuk.com> wrote:>* Not having to write the variable 3 times (with C not always being>
able to detect if they didn't match)
This is indeed a source of errors in C nested loops.
According to Janis Papanagnou, it is 100% the programmer's fault. There
is nothing wrong with the language!
The programmer selects (or constructs) the algorithm, the language has
clear semantics for such simple loop constructs without any irregular
or hidden semantics, and the programmer's task is to know the elements
of the language and transfer the algorithm to a correct coding. - It's
self-delusion if you try to blame the language for the mistakes you do.
Les messages affichés proviennent d'usenet.