html Throwaway 123456's Overly Complex Function Page

Why Not Just Use a List, Throwaway 123456?!

It's 2023, and you're still using nested dictionaries as a substitute for a real data structure? That's like trying to hold water in a bucket made of wet spaghetti.

WhyNotJustUseAList

        
function getThingamajig( thingamajigDict ) {
  var thingamajigKey = Object.keys( thingamajigDict )[0];
  var thingamajigValue = thingamajigDict[ thingamajigKey ];
  return thingamajigValue;
  // Why not just use an array, though?
}
        
      

Don't get me wrong, it's not like I have anything better to do. But seriously, folks. Use a list. Your future self will thank you.

Overengineering for the sake of it