Raflie Zainuddin
Welcome to my page.
I am Raflie Zainuddin, and I like experimenting with JavaScript and TypeScript.
On my website, I enjoy sharing how I leverage functionalities of the programming languages to create useful hacks and tricks. Hopefully, these insights can help you enhance and streamline your own projects.
2024 July 31 • 5min read time

Learn how to use JavaScript's Proxy object to simplify accessing elements in an array by their unique identifier. This approach eliminates redundancy by allowing direct access to array elements using keys, while maintaining standard array functionalities. The implementation involves creating a custom toArrayView function that uses Proxy to enhance array behavior.

Read more

2024 Sep 01 • 7min read time

In this blog post, I discover a new technique in instantiating an event listener class in NestJS with the help of NestJS Event Emitter package. This helps in TypeScript compiler to notify missing implemented property with the correct event data class.

Read more

2023 Jun 01 • 4min read time

I demonstrate how to use Golang reflect package to retrieve exported struct fields and value to convert them into a map of key string recursively

Read more

2023 May 1st • 3min read time

Inspired by Java Streams util, I built a similar utility class that is lightweight and has less lines of code

Read more