Reverse Polish Abbreviations Generator
[ The below provides a good example of pseudo code thinking about how to structure and progressively evolve / improve your program ] So in my previous post about "Something (Not) Happening" ( here ), I hinted at my reversal of strategy. I'm now switching to the use of "post-fix" operators instead of using "pre-fix" ones. This was for what I called my abbreviations -expanding Python program (an OOP project) but now I'm generalizing it to be an "Xpander" class for more than just abbreviations. ( The latter revealed below .) So I was initially thinking like a programmer and assuming that the abbreviation expansion trigger (e.g. the prime char [`] ) should come first (in pre-fix style). However, I should have instead been thinking like a user of the software. From the user's perspective it goes like this: You are typing some prose in left to right progression, say: " The quick brown fox jum...". As you hit the "j...