14,271,991 members

# The Weird and The Wonderful

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 Re: Original Mac Calculator Vs Win10 Calc Member 132567505-Apr-19 4:12 Member 13256750 5-Apr-19 4:12
 Re: Original Mac Calculator Vs Win10 Calc Richard Deeming5-Apr-19 2:01 Richard Deeming 5-Apr-19 2:01
 Re: Original Mac Calculator Vs Win10 Calc raddevus5-Apr-19 4:40 raddevus 5-Apr-19 4:40
 Re: Original Mac Calculator Vs Win10 Calc Harrison Pratt5-Apr-19 3:04 Harrison Pratt 5-Apr-19 3:04
 Re: Original Mac Calculator Vs Win10 Calc raddevus5-Apr-19 4:41 raddevus 5-Apr-19 4:41
 Re: Original Mac Calculator Vs Win10 Calc jackbrownii5-Apr-19 5:28 jackbrownii 5-Apr-19 5:28
 Re: Original Mac Calculator Vs Win10 Calc raddevus5-Apr-19 8:49 raddevus 5-Apr-19 8:49
 Re: Original Mac Calculator Vs Win10 Calc jackbrownii5-Apr-19 8:54 jackbrownii 5-Apr-19 8:54
 I had HP calculators in college, so, I'm hooked. RPN uses a stack and post-fix operation. That means in stead of 3 + 5, you have 3 5 +. The former, called infix, is what typical calculators, the ones with an equals button, use. The really nifty thing about RPN is that you can do complicated equations without having to keep track of how many left and right parentheses you've typed in as you would with a typical calculator. This link https://www.cs.colostate.edu/~cs165/.Summer18/recitations/L15/doc/traversal-order.html seems to explain it pretty quickly. Probably more clearly than I am.
 Re: Original Mac Calculator Vs Win10 Calc maze35-Apr-19 5:30 maze3 5-Apr-19 5:30
 Re: Original Mac Calculator Vs Win10 Calc Greg Lovekamp5-Apr-19 5:56 Greg Lovekamp 5-Apr-19 5:56
 Re: Original Mac Calculator Vs Win10 Calc raddevus5-Apr-19 8:47 raddevus 5-Apr-19 8:47
 Re: Original Mac Calculator Vs Win10 Calc Dr.Walt Fair, PE6-May-19 12:12 Dr.Walt Fair, PE 6-May-19 12:12
 Re: Original Mac Calculator Vs Win10 Calc raddevus7-May-19 1:42 raddevus 7-May-19 1:42
 Why Microsoft Disgusts Me Today Rick York12-Mar-19 8:46 Rick York 12-Mar-19 8:46
 Re: Why Microsoft Disgusts Me Today Richard Deeming12-Mar-19 9:13 Richard Deeming 12-Mar-19 9:13
 Re: Why Microsoft Disgusts Me Today RickZeeland12-Mar-19 9:25 RickZeeland 12-Mar-19 9:25
 Re: Why Microsoft Disgusts Me Today Rick York12-Mar-19 9:51 Rick York 12-Mar-19 9:51
 Re: Why Microsoft Disgusts Me Today TheRaven12-Mar-19 10:30 TheRaven 12-Mar-19 10:30
 Re: Why Microsoft Disgusts Me Today `Randor` 12-Mar-19 17:37 `Randor` 12-Mar-19 17:37
 Re: Why Microsoft Disgusts Me Today Rick York12-Mar-19 20:30 Rick York 12-Mar-19 20:30
 Re: Why Microsoft Disgusts Me Today `Randor` 12-Mar-19 21:01 `Randor` 12-Mar-19 21:01