Comment by randomNumber7
9 hours ago
> I can reasonably assume that we will never get a file with a deep enough syntax tree which would cause a stack overflow.
What if eve constructs a file specifically so that you get stack overflow?
9 hours ago
> I can reasonably assume that we will never get a file with a deep enough syntax tree which would cause a stack overflow.
What if eve constructs a file specifically so that you get stack overflow?
Eve will then experience a stack overflow exception on our app running on her PC, no doubt she will be very impressed with her achievement.
Ok, but then your argumentation is only valid for programming languages with build in saftey guards. In low level languages this would be a recipe for disaster.