Taxonomy Memes

Posts tagged with Taxonomy

My Brain Immediately Said Refactor

My Brain Immediately Said Refactor
Someone clearly wrote this taxonomy without consulting the DRY principle. "International Foods" is the parent category that already includes Hispanic, Indian, Asian, Kosher, and Italian foods. It's like having a function called processData() and then child functions processDataButForUsers() , processDataButForProducts() . Just make it foods_by_cuisine and call it a day. The real kicker is "Italian Foods" being listed separately like it's not international. Someone's inheritance hierarchy is broken. Either everything goes under International or you create proper subcategories. Right now it's giving off major "I'll fix the architecture later" vibes that turned into production code. Also, whoever designed this probably has 47 nested if-else statements in their codebase and wonders why code reviews take three hours.

The Great Language Classification Debate

The Great Language Classification Debate
Look at all those programming languages up there, displayed like some prestigious entomological collection. Hundreds of beetles, each with their unique syntax and quirks, pinned meticulously to the wall. And then there's HTML. Five lonely beetles at the bottom. Separated. Ostracized. The markup language that developers love to exclude from the programming language family reunion. The eternal debate continues. Is HTML a programming language? Well, if you've ever tried explaining to a client why their website looks different in Safari, you know it can certainly bug you like one.