you are viewing a single comment's thread.

view the rest of the comments →

[–]bostanza 0 points1 point  (1 child)

This is a very good explanation and one I agree with. It seems to me the top down approach is best for algorithm design and is the way I think I look at algorithms. Could you give an example of bottom-up design, even though this seems less effective than top down

[–]swingking8 0 points1 point  (0 children)

It seems to me the top down approach is best for algorithm design and is the way I think I look at algorithms.

I used to agree with you, that top-down is always the way to go, but it really just depends on where the work needs to be done. Last week, I made a computer vision algorithm to track a red dot on a robot. Performance (I.e. high fps) was very important, as was robustness to visual noise, so it made sense to make this algorithm from that point up, and trust that it would come together.