Freigeben über


Model for Getting Drunk

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!

Comments

  • Anonymous
    March 02, 2007
    The comment has been removed
  • Anonymous
    April 19, 2007
    And the event of passing time will slowly move you from a state of drunk back to a sober state.  :)