Open smaug---- opened 1 year ago
And looks like there is also https://html.spec.whatwg.org/#she-step
I think it's ok to use both meanings of a word and let context disambiguate. We can keep this open to see if anyone else gets confused, but it hasn't showed up as an issue so far.
I also got confused a couple of times by this.
Is 'step' in general confusing, or only where history algorithms also deal with algorithm steps? We could always call them 'algorithm steps'.
Or the history concept of 'step' could be renamed to something like 'position'.
"step" is confusing because it is used in so many different places meaning totally different things with session history. I haven't ever considered "step" being confusing in spec algorithms in general.
"position" or "session history position" or some such might help.
There are algorithms like "Append the following session history traversal steps" and there "steps" means basically a lambda, some other algorithm but "current session history step" has nothing to with that, it is a number, apparently.
Could we rename some of this?
@jakearchibald @petervanderbeken