You know your team members are really catching onto this whole model-based way of thinking when they pull your leg over a few drinks in a bar and say (tongue in cheek): “So Nihit, the ‘Action‘ of having this drink will take me from a ‘Sober‘ state to a ‘Drunk‘ state, right?”.
Yes – exactly – it will (or maybe we need to accommodate degrees of drunkenness as well – not everyone is drunk after a single drink!?) and for completeness sake you can even have an Action Parameter for the type of drink being passed into the “DrinkAlcohol” action! Isn’t that neat!? 🙂
Anyway, here’s wishing everyone a wonderful 2007 ahead. Happy New Year!