Click here to Skip to main content
15,867,488 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.

 
GeneralRe: Original Mac Calculator Vs Win10 Calc Pin
Member 132567505-Apr-19 4:12
Member 132567505-Apr-19 4:12 
GeneralRe: Original Mac Calculator Vs Win10 Calc Pin
Richard Deeming5-Apr-19 2:01
mveRichard Deeming5-Apr-19 2:01 
GeneralRe: Original Mac Calculator Vs Win10 Calc Pin
raddevus5-Apr-19 4:40
mvaraddevus5-Apr-19 4:40 
GeneralRe: Original Mac Calculator Vs Win10 Calc Pin
Harrison Pratt5-Apr-19 3:04
professionalHarrison Pratt5-Apr-19 3:04 
GeneralRe: Original Mac Calculator Vs Win10 Calc Pin
raddevus5-Apr-19 4:41
mvaraddevus5-Apr-19 4:41 
GeneralRe: Original Mac Calculator Vs Win10 Calc Pin
jackbrownii5-Apr-19 5:28
professionaljackbrownii5-Apr-19 5:28 
GeneralRe: Original Mac Calculator Vs Win10 Calc Pin
raddevus5-Apr-19 8:49
mvaraddevus5-Apr-19 8:49 
GeneralRe: Original Mac Calculator Vs Win10 Calc Pin
jackbrownii5-Apr-19 8:54
professionaljackbrownii5-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.
GeneralRe: Original Mac Calculator Vs Win10 Calc Pin
maze35-Apr-19 5:30
professionalmaze35-Apr-19 5:30 
GeneralRe: Original Mac Calculator Vs Win10 Calc Pin
Greg Lovekamp5-Apr-19 5:56
professionalGreg Lovekamp5-Apr-19 5:56 
GeneralRe: Original Mac Calculator Vs Win10 Calc Pin
raddevus5-Apr-19 8:47
mvaraddevus5-Apr-19 8:47 
GeneralRe: Original Mac Calculator Vs Win10 Calc Pin
Dr.Walt Fair, PE6-May-19 12:12
professionalDr.Walt Fair, PE6-May-19 12:12 
GeneralRe: Original Mac Calculator Vs Win10 Calc Pin
raddevus7-May-19 1:42
mvaraddevus7-May-19 1:42 
GeneralWhy Microsoft Disgusts Me Today Pin
Rick York12-Mar-19 8:46
mveRick York12-Mar-19 8:46 
GeneralRe: Why Microsoft Disgusts Me Today Pin
Richard Deeming12-Mar-19 9:13
mveRichard Deeming12-Mar-19 9:13 
GeneralRe: Why Microsoft Disgusts Me Today Pin
raddevus12-Mar-19 9:16
mvaraddevus12-Mar-19 9:16 
GeneralRe: Why Microsoft Disgusts Me Today Pin
RickZeeland12-Mar-19 9:25
mveRickZeeland12-Mar-19 9:25 
GeneralRe: Why Microsoft Disgusts Me Today Pin
Rick York12-Mar-19 9:51
mveRick York12-Mar-19 9:51 
GeneralRe: Why Microsoft Disgusts Me Today Pin
TheRaven12-Mar-19 10:30
TheRaven12-Mar-19 10:30 
GeneralRe: Why Microsoft Disgusts Me Today Pin
Randor 12-Mar-19 17:37
professional Randor 12-Mar-19 17:37 
GeneralRe: Why Microsoft Disgusts Me Today Pin
Rick York12-Mar-19 20:30
mveRick York12-Mar-19 20:30 
GeneralRe: Why Microsoft Disgusts Me Today Pin
Randor 12-Mar-19 21:01
professional Randor 12-Mar-19 21:01 
GeneralRe: Why Microsoft Disgusts Me Today Pin
megaadam12-Mar-19 22:29
professionalmegaadam12-Mar-19 22:29 
GeneralRe: Why Microsoft Disgusts Me Today Pin
Dar Brett13-Mar-19 16:25
Dar Brett13-Mar-19 16:25 
GeneralRe: Why Microsoft Disgusts Me Today Pin
#realJSOP19-Mar-19 9:34
mve#realJSOP19-Mar-19 9:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.