Home Segments Index Top Previous Next

386: Mainline

In the analyze_trades program, you gain little when you move details of data construction into construct_trade, because you have only moved three cumbersome lines from one place, in main, to another, in construct_trade. When you write a large program, however, you gain a great deal of clarity at each place where you create new trade objects.