3 ms·
It depends on what you treat as a complete action. One could equally well decompose it as two actions and two conditionals: if (volcano_status == GONNA_BLOW)
by TezlaKoil 8y ago
It depends on what you treat as a complete action. One could equally well decompose it as two actions and two conditionals:
if (volcano_status == GONNA_BLOW)
refuel_car();
else if (volcano_status == NO_WORRIES)
refuel_car();
else if (volcano_status == UNKNONW)
nop();
then later
if (volcano_status == GONNA_BLOW)
pack_everything_and_run();
else if (volcano_status == NO_WORRIES)
pack_suitcase_and_leave_for_holiday();
else if (volcano_status == UNKNONW)
call_to_cancel_holiday();
Then refueling the car is definitely the same action, even if it's followed by different actions later on.