Skip to content

Commit 2dbaf4c

Browse files
author
ranga.code
committed
added developer note to README.
1 parent 57b6ddf commit 2dbaf4c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,21 @@ g++ -I$YAML_CPP_DIR/include -I$YAVL_CPP_DIR/src \
105105
$YAVL_CPP_DIR/example-code/checker.cpp -o checker
106106
}}}
107107

108+
==Developer Notes==
109+
110+
What I found interesting about this exercise was how short I was
111+
able to make the checker program by a judicious selection of:
112+
113+
* problem space restriction
114+
* treespec language is itself YAML
115+
116+
Problem space restriction gave the most bang. Instead of
117+
solving a very general problem, I chose to solve a certain
118+
subset of the problem. I think it's quite a large subset,
119+
so hopefully many people will find this library useful.
120+
121+
By using YAML to encode the treespec, I saved myself the
122+
hassle of writing a parser, and the user of the library
123+
the hassle of learning yet another DSL.
124+
108125
eof

0 commit comments

Comments
 (0)