Re: C is a Middle level language....



user923005 wrote:
On Dec 22, 6:09�pm, "Jujitsu Lizard" <jujitsu.liz...@xxxxxxxxx> wrote:
"Keith Thompson" <ks...@xxxxxxx> wrote in message

news:lny6y8ymf0.fsf@xxxxxxxxxxxxxxxxxx

"Jujitsu Lizard" <jujitsu.liz...@xxxxxxxxx> writes:
[...]
If you can't consistently write correct code, you SHOULD be using another
language.

Do you know anyone who *can* consistently write correct code?
I certainly can't; I make mistakes.

Let's start by making sure that we have the same definition of "consistent".

From dictionary.com:

Reliable; steady: demonstrated a consistent ability to impress the critics.

I don't think consistency as it is commonly used requires 100% success. �I
think 80% might be enough.

If I write 1000 lines of code and 2 are wrong ... that meets my definition.

Consistent makes no sense in this context. ...

That's an ironic comment to make, given that the following discussion
completely ignores the context:

... If 100% of the lines of
code are bad each and every time, then the code is consistent. If 50%
of the code is bad each and every time, then the code is consistent.
If 0% of the code is bad each and every time then the code is
consistent.

In itself, that's correct. However, the context resolves all of the
uncertainty that you've introduced by ignoring the context. The
discussion wasn't about "consistent code". The context of this
subthread is the phrase "can't consistently write correct code", and
those few extra words rules out the possibility the phrase refers to
code that is consistently bad.
.



Relevant Pages

  • Re: C is a Middle level language....
    ... of the code is bad each and every time, then the code is consistent. ... the context resolves all of the ... subthread is the phrase "can't consistently write correct code", ... those few extra words rules out the possibility the phrase refers to ...
    (comp.lang.c)
  • Re: OT: The REAL RIddle of DO LOOPS Solved
    ... to be consistent with the "+1" convention, in context. ... surely the 'logical' and 'consistent' thing for a programming language ... When encountering ambiguity, ...
    (sci.stat.math)
  • Re: Aristotle rejects natural selection, and dislikes its adherents
    ... You always refer to the massive number of neurons, ... You have nothing, and I have consistent ... Only when that data is put into context do we start getting ... many uses and explains how to effectively broadcast information. ...
    (talk.origins)
  • Re: Design decision
    ... What is the use case for passing additional context to the comparison ... I think you probably mean consistent rather than ... A "stable" sorting algorithm is one that maintains the original ... not qsort(); C's qsortmay or may not be stable.) ...
    (comp.lang.c)
  • Re: OT: The REAL RIddle of DO LOOPS Solved
    ... to be consistent with the "+1" convention, in context. ... surely the 'logical' and 'consistent' thing for a programming language ... When encountering ambiguity, ...
    (sci.stat.math)