Su and C are out of town on a road trip with Grandpa, and I'm taking it easy. Slept in 'til 10:30 today. Yay! The weather was crappy so I stayed around the house, and got sucked into a project to the exclusion of all else. Ages ago, someone asked about coding up the Traveller trade rules (from Merchant Prince ) into a simulation, which turned into a long debate about languages and platforms. Given the desire to make the result useful to everyone, I thought it was a no-brainer to do it in JavaScript with a web interface. I even went so far as to extract the source code of the canonical implementation - "TRADER" - from an Apple II disk image and take a peek at the code. Pretty damned elegant, actually. So earlier this week I started translating from Applesoft BASIC to JavaScript . As I went, though, I kept changing directions - for example, did I want it to be a verbatim, mechanical translation, or did I want to optimize things to take advantage of JavaScript's s...