3 ms·
> factoring is easy in Forth Even more than working in functional languages like SML, Forth (and RPL, my first stack language) taught me how to factor out code
by Jtsummers 6y ago
> factoring is easy in Forth
Even more than working in functional languages like SML, Forth (and RPL, my first stack language) taught me how to factor out code and remove/minimize duplication. It's just so obvious when using it where the duplication is, the hard part is coming up with decent names. But if a sequence of words can be given a good name, give it that name and define it.