[snips]
That's completely different. It is an embedded system where
there is no RAM for the stack. This is clearly NOT the
case of the user that started this thread.
Mentioning that some obscure implementation in some
embedded chip doesn't have a stack and doesn't implement
recursion doesn't mean that C is not recursive or that
most implementation do use a stack.
No, it doesn't mean that. C does allow for recursion and many, possibly
most implementations do use a stack. However, as far as C is concerned,
there is no requirement a stack exist at all; if there were, C could not
be implemented on non-stack-based systems.
By avoiding the requirement of a stack, the standard allows C to be
implemented on machines without a stack, as long as a (strictly?)
conforming application cannot tell the difference.
LET'S STOP BEING PEDANTIC!
Err... you're in a group inhabited largely by software engineers of some
experience. You know, people who make their livings being pedantic.
People who write code and aren't pedantic about it are the sort who give
us the endless buffer overflows, stack smashes and other wonderful gaping
security holes.
Let me put it this way: if you wanted to hire someone to write the code
which handled all your financial transactions, all your investments,
everything that qualified as your "wealth", who would you pick: someone
who only pays attention to details sometimes, or someone who pays
attention to details all the time, even the minute ones which, if ignored,
might bite you in the ass?
I'm guessing you'd hire the latter sort. Yet when such people talk here,
pointing out that those details actually matter, that good programmers
need to focus on details and not make a lot of incorrect assumptions, you
criticise them for it.
Why is that? Are you trying to actually *encourage* sloppy coding,
inattention to detail, the sort of carelessness which has led to endless
exploits?
This is a field where correctness counts, and where correctness is
damnably difficult to attain in the best of circumstances. Promoting
sloppy behaviour, sloppy discussion and poor assumptions benefits nobody;
promoting good practises, correct information and rejection of unwarranted
assumptions benefits all.
Yet you and others complain. Why?
pedant
–noun
1.a person who makes an excessive or inappropriate display of learning.
2.a person who overemphasizes rules or minor details. 3.a person who
adheres rigidly to book knowledge without regard to common sense.
If that's the proper meaning, then "pedant" applies to nobody here, as
what is being said - repeatedly and endlessly - here is that the details
_do_ matter.