N
jacob navia said:Memory footprint. C++ uses up a LOT of memory.
jacob navia said:Memory footprint. C++ uses up a LOT of memory.
Btw, even if that were true, why would it make C "vastly superior" to C++?
You can't just take one single technical property and declare the language
to be considerably superior overall to another language just because of that
one single property, completely disregarding everything else.
jacob said:Le 07/07/11 18:39, Juha Nieminen a écrit :
In the last years I have gotten increasingly bored with data
processing. Stuffing all my memory with computer trivia may seem
interesting at the start, but then... what a bore is it.
To remember all the hacks, the exceptions, the gotchas, the particular
situations where this and that feature doesn't work as expected or
doesn't work at all is increasingly a burden.
C has less rules to remember, less unforeseen interactions between
feature "a" and feature "b". This is a blessing of sorts, you have
less things to remember and you can program more or less the same
stuff.
Yes, maybe templates allow you to program more concisely but the
impact of the whole in your brain memory space is not worth the
effort.
Writing into computer memory is a thing of nanoseconds. Writing
into brain memory (learning and memorizing by heart) is a slow
and painfull process that takes years. In that sense C is better:
you have less stuff to remember, its memory footprint in your
brain is orders of magnitude smaller.
Besides, since your attention is finite, you should really
spend more time trying to understand the application that has its own
domain of "surprises" instead of trying to master the computer
language that anyway is too big to comprehend and now not even its
creator can modify.
Just my two cents
Have you tried C# or java?
Why be a programmer in a language that
emphasizes the minutia if that does not fit your personality/deisres?
Use
a higher-level language (one with GC and an easier type system, e.g.).
Who are you trying to convince of what and why?
jacob said:Le 07/07/11 23:48, MikeP a écrit :
Yes, great languages for doing business apps, GUI intefaces and
similar stuff.
Maybe because I do not think that "minutia" is unimportant. I have
developed a compiler system that is very small, produces fairly
good assembler code and it is widely used.
The C implementation I distribute uses a GC.
I am just discussing the situation of C++ now, and this continuos
evolution into more and more features as if people would be able
to keep all those specs in mind when they program.
jacob navia said:To remember all the hacks, the exceptions, the gotchas, the particular
situations where this and that feature doesn't work as expected or
doesn't work at all is increasingly a burden.
C has less rules to remember, less unforeseen interactions between
feature "a" and feature "b". This is a blessing of sorts, you have
less things to remember and you can program more or less the same
stuff.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.