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.
"And just for the record, a recursive function is really, really bad, "
Hehe try writing an iterative raytracer :-) There are some algorithms that run far better recursively than iteratively.
"...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."
Probably more of an indication that the problem would be solved better using another approach.
"And just for the record, a recursive function is really, really bad, "
Hehe try writing an iterative raytracer :-) There are some algorithms that run far better recursively than iteratively.
"...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."
Probably more of an indication that the problem would be solved better using another approach.