Category: code
-
the inverted pyramid of code
Read This Post: the inverted pyramid of codeProgramming, being an exercise in writing as much as anything else, can look for inspiration from other, more established, writing disciplines. One writing technique of interest is called the inverted pyramid. This approach improves text comprehension by starting with the most crucial information first, before diving into the less important details later on. The reader…
-
simple genetic algorithm by a simple developer (in python)
Read This Post: simple genetic algorithm by a simple developer (in python)Before we go any further, and especially before you start judging my code, I need to make a few disclaimers: I have decided to implement everything from scratch, mostly based on two books on the topic [1][2]. The term Simple Genetic Algorithm is used here in the same context as described by the author in [1]. With…