On 06/28/2011 09:12 AM, Paul Berry wrote:
On 27 June 2011 17:35, Keith Packard<kei...@keithp.com> wrote:
I'd write the simplest possible code that works now and then consider
optimizing it later. This has the advantage that you can get a bunch of
tests working and then use those to validate a later, more complicated,
implementation.
I heartily support this plan. As my first CS prof used to say, "get
it right first, then make it fast".
In general, I agree. Occam's Razor is always a useful device for
choosing between two paths.
However, as indicated to Keith, the request/suggestion by Kenneth looked
very attractive, and indeed, once implemented, resulted in less smaller
code. It was simpler to implement than what I had before and improves
code quality as well. Tastes great, less filling.
cheers, danm
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev