Programming

  • – Ref Notes –/Ruby Splat Operator Ruby Splat Operator Private or Broken Links
    The page you're looking for is either not available or private!
  • Building a CLI with RustBuilding a CLI with Rust
    tag: Programming

    How to Build Rust

    add dependencies to Cargo.toml
    ex:
    ```
    [package]
    name = "crypto_cli"
    version = "0.1.0"
    edition = "2021"


    See more keys and their definitions at https://d...
  • Ruby Flatten Vs. Flat MapRuby Flatten Vs. Flat Map
    Flatten will flatten all elements into a single array- flat map will only flatten one level, and retain nested arrays


    #flatten flattens everything by default (retuning an array with no arrays a...
  • Dependency InversionDependency Inversion

    High level modules should not depend on low level modules. Instead both should depend on abstractions (modules) and these abstractions should not depend on details


    Rather than instantiating ne...
  • Conditional Rendering in ReactConditional Rendering in React
    When rendering conditionally, Do it around the main component. Favor simple conditional rendering expressions, and extract each layer into its own component to maintain readability. ex
    function Log...