This is Franklin Chen's Typepad Profile.
Join Typepad and start following Franklin Chen's activity
Join Now!
Already a member? Sign In
Franklin Chen
Recent Activity
Unfortunately, in this example, the code is quite inefficient. Each call to pad makes a copy of the original array. Even in the case where n is ary.length. I'll write up more about what one could do instead with a language with lazy data structures and lazy evaluation, and whether that is even a good solution anyway.
Toggle Commented Nov 5, 2013 on Unconditional Programming at Michael Feathers
Franklin Chen is now following The Typepad Team
Jan 10, 2012