If you're doing an assembly language routine, which dumps things on the stack and then calls itself and does that in a big loop many-many times like millions of times, that's a bug. Should be resolved. The only place where I can think that is used is where someone wants to read the contents of a directory, so upon finding a subdir, the ReadDIR function calls itself.. But even in Linux ext4 file system, there is a thing called max path depth, which is like 2048. So, that limits how many times your ReadDIR will call itself. And we never see that kind of depth anywhere, but you could achieve that if you created a directory called "A" and then within that directory, you created another one called "A" and so on until you go down to 2048 deep /A/A/A/A/A/A/A/A/..... but that's not the end of the world. A program should be able to handle that. But generally speaking, when you call yourself from a sub-routine, that's a design flaw.
In reply to Re^3: How am i doing?
by harangzsolt33
in thread How am i doing?
by Anonymous Monk
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |