T
Tony
It's still a jumping off point. That's a lie, in that I don't believe it
is
that. The concepts are a good jumping off point. The implementation sucks.
"I have constant difficulty understanding your posts. *What's* a
"jumping
off point"? C? Do you mean C is a good base for the design of a
language?"
Some of the undisputed syntax is, IMO. I like curly-brace languages over
other kinds.
For us "oldtimers"? Aren't the "new languages" the kids' "rock and roll"?
"what?"
Python, Ruby, web dev... the stuff the kids pick up on first and exploit
maximally. Those special-purpose tools are like rock-n-roll where every song
is destined to become unbearably annoying because of it's lack of musical
substance. (I could have simply said it is masturbation). The kids won't be
creating the next GP language or extending C. They will just use the next
rock-n-roll hit language in an ever-increasing specific and uncoherent way.
Cobol does OO now? (Just a blast from the past... I think they used to kid
me about structures because they said they came from Cobol... they called
them "records". I remember that day well. 1995. (There's a hidden story
that
I'm not telling here.))
"I think you *always* have a hidden story that you're not telling. I
sometimes
think you must be passing secret messages to some third party."
It wasn't a topical story. Just related.
That's the wrong question, of course, IMO. "What can be learned or
salvaged
from C?", seems more appropriate.
"I think Jacob wants to extend C"
I think he's already done that.
I've NEVER liked it!!! Good riddens! Bury it or drive a wooden stake into
it.
"I quite like it."
Fine.
Not really though,
"yes, really. Lots of things other languages put in the language
C puts in the library. The core C language is very small."
In that it is optional, I consider it, well, optional. The library part
probably hindered-it/is-hindering-it-now.
I am using C++ and replacing the std library with my own
library. Similar applies to C std lib.
"well if you want to, go for it."
Nope. It's the UNIX API.
"no it isn't. It really is a highly portable general purpose library."
I disagree because it is too "unixy" akin to how the Win32 API is too
"windowsy". YMMV. I consider both of those platform-specific APIs. That they
can be implemented on other platforms does not change my categorization of
them. My code currently runs against both of those but I am seeking
indepence from them (RIP).
That is all it is. I abstract it less than Win32
API because [it] is far less relevant to me. Nonetheless (is that one
word?), the
ISO lib is just another platform (UNIX), IMO.
Its main problems are:1.1: No support for standard containers like lists or hash tables
I don't see that as a problem at all.
"since you don't think the library should be standardised this doesn't
surprise me!"
OK, good then.
don't think the comittee should be
in the library business. [he]language definition probably suffers because
of that.
"I disagree. Actually many language standards (most language
standards?)
include a library. Ada, Scheme, Algol-68, python, Java, perl.
Ones that don't (or are very small) Pascal, Coral, Algol-60"
Opinions vary. That's fine. The committees for languages like a centralized
approach. I, OTOH, prefer something much more specific, simple and elegant
rather than the proverbial "horse designed by committee".
Did you mean that "typedef" is brain-damaged? If so, I agree. (See Ada
2005
for a solution).
"No, he means things like complex and bignum"
So then one solution is to use C++, perhaps just that capability of it.
YMMV. "C with classes" all over again he was suggesting?
I don't think that is hardly the issue at all. It may be secondary, or
tertiary or... I don't know. But I know it is hardly primary.
"what is the issue then? I'm not necessarily agreeing with Jacob
but at least I know what's he's talking about."
I was just saying that that is not a big issue. I wouldn't bawk at
overloading the [] for strings, but I may for operator + meaning
concatenation. For me, the big issue is one of representation (structure)
vs. operation. There should probably be more than one type of string and
null-terminated shouldn't be any of those though.
Sounds like a NON-solution from the get-go.
"in what way is a non-solution? JN what's to extend and expand C
to rescue it from he perceives as it stagnation. In what way is that
a non-solution?"
It's making the same mistake C++ is today: built upon the baggage of C.
D is the opposite track, but
still fails. Go figure. Hmm. "Have C compiler, can travel" mantra? (What's
wrong with this picture?").
"it's word-salad?"
D chose the right method (a new language) IMO, but still didn't produce
something compelling, IMO.
Hmm. Kinda suspect. Why? Because you are focusing on "throwing errors over
the wall" rather than good design.
""you" (Jacob) or "they" (Microsoft)?"
"you" meaning anyone who exploits some general theory of EH in cognitive
laziness. That is, to invent an EH paradigm that results in less EH ("the
caller will handle it").
As you have noted: a NON-solution.
The C baggage is still there. While noting that there are things lacking,
one should analyze the flip side of that and see what is best to remove or
rethink/redesign/rework. (An example would be the brain-damaged enums and
typedefs). The backward compatibility constraint is too big of a pill to
swallow, IMO. For that, there is C++ already.
"Life support"? Unplug the respirator already!
False.
"why?"
Why do _I_ have to DISprove a statement like "True, C is simple"?
(Rhetorical). I don't. Prove it is simple.
Appeal to long-and-hard-thinker, non-sequitur.
Referencing Einstein seemed gratuitous.
Tony