WLOG - blog something different

tags: ai arduino bass games godot i2c linux plan9 random rv web werc zig
The importance of debugging trees
link | random | Sat Apr 1 08:20:50 CET 2023 No.8

Today’s lesson, or more accurately a rant, on the topic of developing services and products leveraging usage of trees.

Tree structures are great! Efficient at traversing and storing. Not to mention representing hierarchical structure.

But there is a risk when implementing trees. The bugs are hard to find.

Bug hidden in tree leaf

It is specially important to debug your trees early in development or the bugs might grow exponentially.

Big bug in a tree structure

On a tangent, it is downright annoying when you find a bug in a random number generator.

Big bug in a tree structure

If the last joke did not register, I suggest reading The Botany of Desire, to get a better understanding of the world of random mutations, specially regarding apple related development.