Saturday, January 19, 2008

public class WorldEconomy


public class WorldEconomy {

boolean revolution;

void run() {
while (!revolution) {
doCapitalism();

//// NEW DEAL.
//// Un-comment in case of crisis (see 1929)!
//makePublicWorks(new GovernmentalLoan())
}
}

void doCapitalism() {
long surplus = doBusiness();

// Avoid deflation.
while(surplus > 0) {
surplus -= lendAndInvest();
surplus -= expandMarkets(); // Occupy more teritory.
surplus -= advertizeAndLitigate();
surplus -= consumeHealth();
surplus -= buyLuxuries(); // Enforce turistic habits.
surplus -= buyGunsAndAmmunitions();
surplus -= execWars();
}
}

long doBusiness() {
long profit = sellProductsAndServices(); // Exploit everything alive...
profit += doImaterialTransactions(); // Buy (whatever) low, sell it high.

return profit;
}
}

2 comments: