Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Traditional programming languages and imperative thinking don't lend themselves to writing state machines.

Linden Scripting Language, used for Second Life, has explicit state machines as a first-class programming construct. Programs are divided into state sections, using a keyword "state". Each state has its own local functions.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: