Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Simple optimization question

Author: Daniel Clausen

Date: 08:19:23 01/09/04

Go up one level in this thread


On January 09, 2004 at 10:40:37, Bob Durrett wrote:

[snip]

>Well, in all fairness, I truly admire people like the guy who created the c
>language and also admire people who create compilers for the new higher level
>languages.  The way I see it, the "Computer Linguistics Expert" is a big knotch
>above the ordinary programmer.  : )
>
>Bob D.

It doesn't have to be a complex language though in many cases.

Here's an example: Imagine someone who writes many HTML-pages, which contain
table-like information, sometimes with headers, in different sizes etc. Most
people would simply write the more or less same HTML-code as many times as
needed and fill it with different data. A little script/program which takes the
raw data and writes the HTML-code would be rather simple to code and would have
many advantages:

-less bugs in the HTML-code (since you won't make copy/paste errors)
-much easier to maintain in the future
-etc

It can be as simple as that. It doesn't have to be another C-compiler. Now of
course, in a chess program it's a bit more difficult than a HTML-table. :o)

Sargon



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.