PinnedDavid LeeA Rapid Guide to All Rust FeaturesThis article is my recent learning journal on Rust. I find when it takes you 60min+ to watch a similar video on YouTube, it might need your…Dec 31, 20233Dec 31, 20233
PinnedDavid LeeHexagonal Architecture Deep Dive with PostgreSQL, Redis and Go PracticesNeal Ford & Mark Richards, in their book Fundamentals of Software Architecture: An Engineering Approach, came up with four dimensions that…Apr 18, 20238Apr 18, 20238
PinnedDavid LeeinTowards Dev6 Tips on High Performance Go — Advanced Go Topics6tips: benchmarking, profiling, Compiler optimisations, Understanding the execution tracer, Memory management and GC tuning, ConcurrencyApr 26, 20236Apr 26, 20236
David LeeQuick Guide on HTTP Cache ControlYou probably saw this a million times on a website, but you never implemented this in your own code?Jun 29Jun 29
David LeeWhy I haven’t Used Materialized View and WAL in SQLHave you ever tried MV and WAL in SQL before?Jun 29Jun 29
David LeeinTowards DevI don’t Want to Come Back to OCP vs DIv Topic AgainI hope after this article, you won’t need to go hunting for a “Part 2.”. I’ll use some dead-simple code and a couple of UML diagrams…Jun 29Jun 29
David LeeWhy Zero External Dependencies Matters for GoUpon fully grasping this concept, I began to appreciate the significant contributions Go has made to the programming community. Its impact…Jun 272Jun 272
David LeeinTowards DevTry Using Middleware in HTTP handlersIt’s important not to let clients dictate the duration of a request-response life cycle. Malicious clients could use this leniency to their…Jun 25Jun 25
David LeeinCodeXWhy I Prefer Panic Instead Of Error Handling in TestLet’s take an example of httptest.NewRequest and http.NewRequest.Jun 25Jun 25
David LeeinCodeX5 Linux Commands that Makes You a Happy DevI’ve discovered that devs who use the following commands are truly the most interesting people around!Jun 20Jun 20