File talk:Shunting yard.svg

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This example sucks. I don't think I could construct a more frustrating and ambiguous example. The ONE part of the algorithm that has any subtlety (step g) is completely masked by this illustration. Which + ends up on the stack? Which one's on the left?

Why in the world would you put two +s in there? Why? It's like you're intentionally making people misunderstand the algorithm. My god.

74.108.56.239 (talk) 01:53, 8 April 2013 (UTC)[reply]

The above is a bit harsh but I agree it's unnecessarily ambiguous. It would be clearer if the original expression were "A + B * C - D". 208.97.218.10 (talk) 14:38, 25 September 2013 (UTC)[reply]