top of page

The hunt for perfection




Whenever I write code, I encounter those small decisions that drive me crazy. For instance, I recently examined two objects from different #APIs. They named their updated fields slightly differently (one as “updated_on” and the other as “created_at”). Despite this difference, both properties served the same purpose.

I faced a question: Should I develop a function that iterates over the received objects, searching for the correct property names, and then use those names for further processing? Alternatively, should I create two separate loops? For sure during my bloggy though dump I just put more pressure on me to change for a single iteration over the two objects.

“As decisive as a kid in a candy store.”

Imagine the internal struggle: gummy bears or sour patch, chocolate bar or popcorn? Life choices are hard, especially when there’s a rainbow of options.

 
 
 

Recent Posts

See All

Comments


©2025 philipphiestand.ch
My blog is about technology, security, sustainability and my ideas to combine those elements into digital solutions.

bottom of page