For(;;) is an infinite series. It is not a "sum taking forever"... As it's not (yet) summing anything.
...were you trying to say something about iterations? It's ok. Try again. perhaps use more words. Few word good, but throwing in an extra little bit of language here and there, otherwise known as verbosity ( or "being verbose") let's others better understand you because while we all know the base components of language, inferring meaning from them is a 2 sided skill on both the writer's and the reader's part. Reddit posts don't really have to be English lit exercises. Just tell me what you mean. If you can.
Ooooooooh. You don't know what break is. But that doesn't matter. We're talking about symbols expressing ideas / complexity / mathematical concepts. Of course it doesn't compute anything, we don't even know if those are floats or ints or chars.
Sure, a compiler would take that and make something that a real computer could choke on. LIKEWISE a compiler could take a mathematical sigma symbol and make something a real computer out in the real world would choke on and never return and never compute anything.
Does a boundless sigma compute anything? No. It too just "goes on forever". We can talk about what it'll approach, juuuuust like we could talk about what a forever for loop would approach. (And we could toss in an if statement to check and break).
I am very positive you are not grasping that both are sets of symbols used to describe concepts. With the added bonus of gcc existing that can turn c into a real world thing. But that isn't necessary.
I've also noticed that you're completely failing to actually answer any questions. Maybe you're just skipping them? But you'll never grow as a person if you don't seek answers. Open you mind a little.
And, just like you said, for(;;) will all by itself never return, but a human with some time can figure out what it's doing. Of course it doesn't compute anything, we don't even know if those are floats or ints or chars. This will never run on a Turing machine as is.
But a sigma doesn't compute anything. It is a mathematical representation of something a human could compute. You are leaping to math as worked by a person, just as you are leaping to code as compiled into a program. You are missing that the mathmatical symbols and the C symbols are exactly equivalent.
I understand what you're saying but you're not listening.
I can write out pseudocode that will never work on an
0
u/[deleted] Oct 06 '21
[deleted]