This module takes as its starting point the construction a simple monolithic procedural implementation of a basic time-stepping Monte Carlo method of option valuation.
Topics: file layout and coding standards; encapsulation into functions; separation in translation units; the (mis)use of static variables; syntactic speed-ups and pre-computing; the cost of exp().