DEV Community

Discussion on: How to create a binary decision tree in JavaScript

Collapse
dstrekelj profile image
Domagoj Štrekelj Author

Hello Bruno, thank you for the comment!

There's definitely a lot more that can be done to improve this implementation. I wanted to keep this article simple and focus on explaining the building blocks of a binary decision tree. Leaning into more advanced programming concepts and techniques could have muddied the waters a bit so I decided to stay away. Hopefully that was the right choice! What do you think?

Let me know if you fork or create your own implementation. I'd love to see what you come up with!