Hacker News new | past | comments | ask | show | jobs | submit login

You misrepresent me here. I never claimed that Forth is uninteresting, just that your code was. The statement I take issue with is that Forth is powerful. In reality, it is useful only because it is not powerful and hence is easier to implement.

> yet you can have braces with e.g. 2-3 lines of code

You can't really. You'd be better off treating braces as whitespace than having them check the stack depth before and after each function call. They wouldn't even be correct then because you could make multiple calls within the same set of them. If you want to implement braces properly, you'd need a way to introspect how many arguments a function takes, but Forth is not powerful enough to do this.




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

Search: