For an extra million dollars? You could've worked those six years in Canada.
Posts made by AuraSeer
-
RE: Stupid non-compete clauses
-
RE: STL overkill
Meh, it's not that odd. Say you expect that in a future version that bool will change to a different type. For instance, you currently have a flag that tells you whether you're in standard mode (when false) or Special Calculation Mode (when true). In some future version there could be more modes. When that specification comes down the pike you just change the variable and the template argument from a bool to an enum, or a string, or whatever other type you like, and the lookup code still works.
That's one of the main advantages of template arguments in the first place; they let you change subtypes without rewriting lots of code.
-
RE: Side-effect-based programming.
Gah! Tell me you're not using EasyScript!
I encountered that at my first programming job. It was used to lay out the logic for interactive voice systems-- those phone tree things everyone seems to hate so much.
The stated purpose of the language was to let non-programmer clients write and edit their own phone trees, because they could just lay out flow charts instead of having to write in a cryptic language full of semicolons. Unfortunately since it still had to include variables and if-statements and all that "complicated" stuff, and the average non-programmer has never seen a flow chart in the first place, the company still had to maintain its own staff of programmers to write the code for its clients.