Author: Vincent Diepeveen
Date: 06:09:43 03/14/04
Go up one level in this thread
On March 13, 2004 at 21:35:17, Steven Edwards wrote: >On March 13, 2004 at 12:37:36, Vincent Diepeveen wrote: >>On March 13, 2004 at 11:52:07, Steven Edwards wrote: > >>>So, here's some sample test code to recognize, without search, potentially >>>interesting knight forks. It's an example of bridging the gap between bitboards >>>and ideas. >> >>oh what a horrible code. >> >>Am i glad that i program in C. > >Thank you for your obviously well-considered and professional opinion. > >Seriously: Vincent, if you think it's bad, then I must be on the right track! I'm sure you will have many fans when writing it in a functional language. I wrote once a checkersprogram in a functional language very similar to this one (but of course developed at university Amsterdam: gofer), so i'm sure that from all the posters here i'm the only one trying to figure out the many bugs in your detection code. Meanwhile realizing that when you extend your functional code to a big program, that you will suffer from all the big problems that such languages give: - Maintainability (no one can maintain this) - Responsibility (who created that bug in my companies code?) - Development time (takes 10 years to make something simple) - Execution speed (factor 10000 slower when interpreted than the well known imperative languages) - Readability (no one can read your code) - Complexibility (you make it yourself as usual too complex to do something simple, so extending code is a no-no) - Survivability (if you die no one else can maintain it) ... and that's just the quicko's, there is much more problems... Now imagine that a strong chessprogram from 1 MB+ source code using all this type of cryptic stuff would be running in a tournament. What time would it take to develop all that in a functional language? How many years would it take to search to the same search depth like his opponent? A functional program from 1MB source code, ever seen it? I have, it's hell!
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.