3 ms·
I feel like as if the article itself is not finished at the end: > How can you know the arity of the functions without adding explicit comments? Sure, if you h
by johnisgood 1y ago
I feel like as if the article itself is not finished at the end:
> How can you know the arity of the functions without adding explicit comments? Sure, if you have a handful of words like bar and foo you know like the back of your hand, this is easy. But imagine reading a large, unfamiliar code base full of code like this and trying to comprehend it.
Cool project by the way! Well done.
- eliben 1y agoThanks for the feedback! What do you feel is not finished?
- johnisgood 1y agoI think (unless I missed it) it could be mentioned that typically you are supposed to have as small words as possible, with least amount of stack shuffling, and comment code as much as possible (stack effects). That said, I have not had to maintain large Forth projects so I have no clue how well I would fare ^^. BTW, have you heard of https://factorcode.org https://factorcode.org? You might like it!
- eliben 1y agoYes, Factor is mentioned in the first paragraph of the post!
- johnisgood 1y agoOh I completely forgot by the time we left the comments. Embarrassing. In my defense, I always mention Factor. :D