Reverse Polish Abbreviations Generator
[ The below provides a good example of pseudo code thinking about how to structure your program ] So in my previous post about "Something (Not) Happening" ( here ), I hinted at my reversal of strategy. (Switching to the use of "post-fix" operators ) for my abbreviations-expanding Python program (an OOP project) I was initially thinking like a programmer and assuming that the trigger (e.g. the prime char) should come first when I should have instead been thinking like a user of the code. From the user's perspective it's like this: You are typing some prose in left to right progression, say " The quick brown fox jum...". As you hit the "j", you recall that you have a prestored abbreviation for "jumped". You recall the name of that shortcut as being j "prime" . So you type the j and then hit the prime key on your keyboard (the left tilted quote just below the ESCAPE key on the top left of your (y prime) keyboard (k pr...