
Entry #100255: true storyby Matvey
Some company decided to create a calc.
It should be complex beautiful scientific calculator. What one needs to create a calculator? 1. Big number class. 2. Class to parse something like (123+45)*10 3. Cool interface. Big number class was created by intern. He took his friend's big number class. There were some problems with that class : it had only +/ operations and it used Fibonacci notation. Our interned added multiply operation (implemented by adding) and division (implemented by subtracting). While implementing division it turned out that he had no idea how he could represent fractions in Fibonacci notation. So he desided to store fractional part in decimals and update it every time. Parsing algorithm works almost without bugs. The problem is that managers desided to make a calck like a windows one. As noone wanted to loose the code results are stored inside calc as strings and every time parse it and show result to the user. So if one press 5 + 3 the = then + 4 the programm stores 5+3+4. As for GUI it was designed and implemented by one old school windows api programmer. In the middle of developing process managers desided that the calc had enough features and was tested enough so they publish it and now it is selling for 59.99 at all shareware protals. Download • 0 Comments 