2 ms·
With beginners, there's a severe "working memory" limitation from the fact that they have no compression that comes from tying things together. The for line en
by nomel 2y ago
With beginners, there's a severe "working memory" limitation from the fact that they have no compression that comes from tying things together.
The for line ends up being one independent line they can grok, then free from their memory when looking inside the loop, knowing that I gets bigger for a while. From my experience, something like the recursion will blow away a beginners working memory, because they can't piecewise it. But, the biggest problem is the for loop is trivially expanded with the exact same format, you just shove stuff into the body. The recursion method requires significant reworking to expand. Beginners appreciate simple templates that they can understand and modify, because they're still putting it all together.
- deleted 2y ago[deleted]