Linked by Takuya Murata on Tue 18th May 2004 06:26 UTC
My physics teacher likes to say that physics like to make problems they face look like ones that they know how to solve. A simple harmonic oscillation was one he frequently used in class, as is presumably the case in physics in general.
Permalink for comment
To read all comments associated with this story, please click here.
Regarding:
"And just for the record, a recursive function is really, really bad, especially on an unbounded list (unbounded = who the heck knows how big it is at runtime). That's a good way to whack your stack and core dump/crash. "
I've used recursion for image and signal processing for 20 years. It's a very useful tool and has never failed, cored,
or crashed. My long term *experience* with recursive algorithms would tend to outweigh your novice *theory*
about it.
Regarding:
"And just for the record, a recursive function is really, really bad, especially on an unbounded list (unbounded = who the heck knows how big it is at runtime). That's a good way to whack your stack and core dump/crash. "
I've used recursion for image and signal processing for 20 years. It's a very useful tool and has never failed, cored,
or crashed. My long term *experience* with recursive algorithms would tend to outweigh your novice *theory*
about it.
Maybe it's your technique.....