On 2008-01-21, at 18:13, Peter Hall wrote: >> The argument (which I do not think is decisive) is that PTC breaks >> debugability. > > I am a bit out of my depth in this discussion, but explicit syntax > feels wrong to me. However, if it's going to be implicit, it has to > be completely invisible (aside from the benefits) - developers are > going to want their debugging tools to work as before. > > Is there a practical approach to recursion counting, that ES4 could > require, so that Error.getStackTrace() can use it to produce the > "expected" result?
Tail calls do not have to be self recursive. Only a stack could maintain the necessary state... — Gordon _______________________________________________ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss