The developer is having a full-blown argument with their compiler through code comments. They've set up a pattern matching function for different operators, but the real gem is the default case where they've added comments comparing the compiler to a "spoiled toddler throwing tantrums" before calling panic!()
.
This is basically the programming equivalent of muttering insults under your breath while fixing the errors your IDE is screaming about. The fact they're using Rust's panic!()
function is just *chef's kiss* - it's like they're saying "FINE, I'LL CRASH THE PROGRAM IF THAT'S WHAT YOU WANT!"