Declarative / imperative
Apr. 16th, 2024 04:41 pmGood spurt of IFComp game coding. Inform 7/10 is a largely declarative language, very like coding in Prolog. But sometimes you have to go imperative. And I've just coded a ridiculously large set of nested IF ... OTHERWISE ... statements to handle a key situation. Now approaching the end of the game, though still have masses of earlier stuff to go back and finish off writing properly.