BrianDamaged.org

Breaking hearts and minds since 2023!

Not ANOTHER tech blog!!!

2019-02-16

“Brian, how could you?” I hear you crying. “You promised us that you wouldn’t let your blog devolve into another technical blog! Don’t you remember your first post? Why did you write an entire series of posts on Javascript Decorators? Whhyyyyyyyyyyyyyyy?”

Don’t worry — this isn’t becoming a tech blog. I just personally find meta-programming to be very fascinating, and I wanted to share some of the recent thoughts on the subject.

Why do I find it so fascinating? I’m glad you asked!!!

To me, meta-programming is like “Marie Kondo-ing” reality. Our lives are cluttered with details that are insignificant and simply don’t matter. Does it really matter how many times you scrubbed that plate before placing it in the dish drainer? Nope. The only thing that matters is that the plates are being cleaned before they are used. Does it really matter if you personally wash that plate? Again, nope. The only thing that matters is that the plates are being cleaned before they are used.

So, just discard those unnecessary details from your life. Buy a dishwasher, and let it handle the details of the plate cleaning for you.

Similarly, most of the details of the software creation process don’t actually matter. Does it really matter how you indent your code? Nope. The only thing that matters is that the code’s runtime behavior meets expectations. Does it really matter if you actually wrote the code yourself? Again, nope. The only thing that matters is that the code’s runtime behavior meets expectations.

So, just discard those unnecessary details from your life. Leverage meta-programming, and let it handle the details of the code construction for you.