3 ms·
That's also kind of a bad example, because it's using a language with dogshit error handling. In a language like Rust, you'd just do e.g. `let sibling = new_nod
by EnergyAmy 2y ago
That's also kind of a bad example, because it's using a language with dogshit error handling. In a language like Rust, you'd just do e.g. `let sibling = new_node(...)?;`, and you wouldn't need the extra functions. I'd dislike having to go off and find both `needSiblingNode` and `pointToNewAddress` just to figure out what a few lines of code mean.