MPManoj Parvathaneniinblog.learnwithmanoj.dev·Oct 1, 2024 · 4 min readUnderstanding Variadic Functions vs. Slice Parameters in GoWhen writing functions in Go, you may encounter situations where you need to accept multiple arguments of the same type. Go provides two primary ways to handle this: Variadic Functions using the spread operator (...). Functions that accept a slice p...00
MPManoj Parvathaneniinblog.learnwithmanoj.dev·May 14, 2024 · 3 min readRandom Number Generation in Go: From Basics to CryptographyRandom number generation is a crucial aspect of many applications, from simple games to complex simulations and cryptographic operations. In this blog post, we'll explore three main methods of generating random numbers in Go: the very basic way using...01P
MPManoj Parvathaneniinblog.learnwithmanoj.dev·May 13, 2024 · 2 min readHow to Bypass the Gatekeeper Error for Zig on macOSIf you've recently tried to run zig on your macOS and encountered the error message stating "can't be opened because Apple cannot check it for malicious software," you're not alone. This issue arises because Apple's Gatekeeper cannot verify the softw...00
MPManoj Parvathaneniinblog.learnwithmanoj.dev·Jul 5, 2023 · 4 min readApplying Short-Circuit Evaluation for Efficient JavaScript CodingJavaScript provides a collection of logical operators that allow developers to handle conditions more concisely and efficiently. Short-circuit evaluation plays a significant role in this process. It dictates that in certain logical operations, the se...01P