Re: [stack] disallowing recursive definitions
"Daniel Ehrenberg" <[email protected]>
| Newsgroups | gmane.comp.lang.concatenative |
|---|---|
| Message-ID | <[email protected]> |
> Naming stack locations is a nice way to reduce the cognitive load > and it looks like it works particularly well for mathematical > algorithms. > How well does it work for non-mathematical things? > -- > don I've used it for a dynamic programming problem, which made things much easier. But generally, I find that things come out cleaner when you don't use named variables. The dataflow is more direct. When you write things by dividing them into small words, the need for named variables is diminished; the ability to omit variable names also makes it easier to divide things into smaller chunks. Dan