Date: 2013-02-20 09:01 am (UTC)
I vigorously disagree. Hard-earned experience is hard-earned for a reason; for teaching purposes, it's not only appropriate but absolutely essential to throw away (or at least sweep under the rug) more advanced ways of doing things. The purpose of this code is not efficiency; it's clarity. Mind you, I think there's a good argument to be made (absent comments or context I don't have) that it falls down on that front too, but I fault it much more for that than I do for not dancing around the particular hoops created by the GC, especially since those hoops may or may not actually exist. (Several JS interpreters, for instance, will cheerfully Do The Right Thing and create hlf on the stack where it belongs)
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

elfs: (Default)
Elf Sternberg

May 2025

S M T W T F S
    123
45678910
111213141516 17
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 22nd, 2025 05:23 am
Powered by Dreamwidth Studios