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

> You cannot possibly write or deliver spaghetti, working or otherwise, if you're not capable of remembering what you wrote three minutes ago.

Forth programmers make a similar point. Forth is stack based; you typically use stack operations rather than local variables. This is ok when your 'words' (analogous to functions/procedures) have short and simple definitions, but code can quickly become unreadable if they don't. In this way, the language strongly nudges the programmer toward developing composable words with simple definitions.

(Of course, Forth sees little use today, and it hasn't won over the masses with its approach, but the broader point stands.)



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

Search: