YumcoderOptions Pattern in RustIn Go, the “options pattern” for function parameters is a common idiom used to provide flexibility and configurability to functions by…Dec 26, 2023Dec 26, 2023
YumcoderNot Using PureComponent or MemoThe “Not Using PureComponent or Memo” pitfall in React refers to the situation where you do not optimize your components to prevent…Nov 5, 2023Nov 5, 2023
YumcoderExample of Key Generation, Encryption, and Decryption In RSAThe following example illustrates RSA's key generation, encryption, and decryption process using small numbers for simplicity. Let’s go…Oct 17, 2023Oct 17, 2023
YumcoderThe “Option pattern” in GoThe “Option pattern” in Go is a design pattern used to manage optional parameters in a clean and flexible way when defining functions or…Sep 10, 2023Sep 10, 2023
YumcoderFirst-Class Functions in GoIn Go, functions are first-class citizens, which means they are treated as first-class values and can be used in the same way as other…Sep 10, 2023Sep 10, 2023
YumcoderGolang race condition exampleThe following code snippet demonstrates a function called Query that performs a parallel query on multiple database connections and returns…Sep 10, 20231Sep 10, 20231
YumcoderGolang and Cross-Site Scripting (XSS) attacksLet’s consider an example of a security problem that can occur without the “X-Content-Type-Options” header, leading to a potential security…Sep 10, 2023Sep 10, 2023
YumcoderRust release and acquire memory ordering by exampleTest Concurrent Code With loomJun 6, 2023Jun 6, 2023
YumcoderThe Cell type in Rust is a mutable reference to a value.For example, the following code is safe:Jun 1, 2023Jun 1, 2023