This is pseudo code and a mix of various languages (i.e. it wouldn’t compile in anything) but this was how it went down in real time…
3:36:01 PM: Jordan Rinke:
define Night (Drinks as new Drinking, Pool as new Billiards, BBQ as new Dinner, optional Go_Out as new Bar) {
Arrive(Drinking.location)
Drinking.execute()
BBQ.execute()
Billiards.execute()
if defined Go_Out then {
Go_Out.execute
return hungover
} else {
return maybe_hungover
}
}
main() {
If Wayne.Walls.Approve = 1 then {
Drinking.location = “Patio”
Billiards.location = “Wayne Enterprise”
BBQ.location = Drinking.location
retval = Night (Drinking, Billiars, BBQ)
#
#Optional Go_Out needs definition
}
return = retval
}
3:36:55 PM: Wayne Walls: 1
3:37:35 PM: Jordan Rinke: this deserves a blog post lol
3:37:41 PM: Wayne Walls: lol
3:37:47 PM: Wayne Walls: i agree
Funny stuff, book marking this to confuse my wife later.
~whitey
Dig it!