We all have this moment when we look back at older code, take some time to remember that it was us who wrote it, and then feel happy that we can now tell how horrible it is, and how we could improve it now, just to loath it again 6 months in the future.

So this is the first post in an ongoing series of Self-Code-Review. Where I pick subjectively unique and interesting modules, in different projects, architectures, and languages.

Starting with an Audio Player in JavaScript:
https://blog.mhashim6.me/audio-player-code-review/
"It seemed that things took a very complex turn to manage simplicity. Apps were no longer a function of product needs. The framework became a factor in the formula itself. Teams are developing for the framework, and slightly for the product."

https://blog.mhashim6.me/what-reverse-engineering-foretells/
So you have multiple operations that you want to perform on a list, you're a good lad (or lass) and you're not using a giant for loop; you're feeling clever today and you'll be using functional operators like map, filter, and reduce.

But the list is relatively big, and even though it looks elegant, iterating on it 10 times is not exactly up for a performance award.

https://blog.mhashim6.me/loop-much/
كل عام وانتم بخير. تقبل الله منا ومنكم 🐑🎉
Blessed Eid for all of us! May Allah accept our good deeds 🐑🎉