Liste des Groupes | Revenir à cl c |
Michael S <already5chosen@yahoo.com> writes:So, which language do you think is higher level, C++ or Python? Where might Lisp fit in, or OCaml?
On Sun, 25 Aug 2024 18:36:46 +0200I'm not sure what you mean by this description. Do you mean
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>On 24.08.2024 20:27, Bart wrote:>
>On 24/08/2024 19:11, Bonita Montero wrote:>
>I guess C++ is used much more often because you're multiple times>
more produdtive than with C. And programming in C++ is a magnitude
less error-prone.
C++ incorporates most of C. So someone can write 'C++' code but can
still have most of the same problems as C.
It's true that C++ decided to inherit unsafe C designs as C being
sort of its base. But a sophisticated programmer would knowingly
avoid the unsafe parts and use the existing safer C++ constructs.
Only that a language allows that you *can* write bad code doesn't
mean you cannot avoid the problems. Of course it would have been
(IMO) better if the unsafe parts were replaced or left out, but
there were portability consideration in C++'s design.
>
>[...]
Safe HLLs without mandatory automatic memory management
languages that are otherwise unsafe but have a safe subset?
If not that then please elaborate. What are some examples of
"safe HLLs without mandatory automatic memory management"?
tend to fallIt's been amusing reading a discussion of which languages are or are
into two categories:
1. Those that already failed to become popular
2. Those for which it will happen soon
not high level, without anyone offering a definition of what the
term means. Wikipedia says, roughly, that a high-level language is
one that doesn't provide machine-level access (and IMO that is a
reasonable characterization). Of course no distinction along these
lines is black and white - almost all languages have a loophole or
two - but I expect there is general agreement about which languages
clearly fail that test. In particular, any language that offers
easy access to raw memory addresses (and both C and C++ certainly
do), is not a high-level language in the Wikipedia sense.
Les messages affichés proviennent d'usenet.