3 ms·
To be fair, the author uses a very simple program: a number that evaluates to itself to show the general approach for a genetic algorithm. It shows quite nicel
by beders 8y ago
To be fair, the author uses a very simple program: a number that evaluates to itself
to show the general approach for a genetic algorithm.
It shows quite nicely the advantages of dynamic typing and abstractions together with very readable data manipulation code.
A great showcase for Clojure's capabilities.
Looking forward to the next part where the author wants to mutate s-expressions.
(I'm aware that all of this has been done before sometime in the 90s with Prolog and CommonLisp mostly)
- hota_mazi 8y agoI don't see how this shows in any way the advantages of dynamic typing. The same code in a statically typed languages would hardly be more verbose. But it would be much easier to maintain, evolve, refactor, and understand.