Lifetime Annotations in RustLifetime annotations in Rust are like a set of rules for references in a program. Just like how you wouldn't want your best friend to borrow your car without permission, you don't want references to data that aren't valid or safe to use. For example,...Jan 13, 2023 · 3 min readshariftarver.hashnode.dev
What was a technical roadblock that you overcame this week? How did you do it?I get so tunnel-focused writing on writing code and forget that it's best to walk away from your editor (and put down TikTok) to take a break, go for a walk, go play video games, or even sit in silence outdoors for some time to recalibrate. Sometimes...Mar 29, 2022 · 2 min readshariftarver.hashnode.dev
How I built a SPA with Vanilla.js + Ruby on Rails backendWhat is a Single Page Application? There are two main design patterns for web apps: multi-page application (MPA) and single-page application (SPA). A single-page application is an app that works inside a browser and does not require page reloading du...Jan 25, 2022 · 4 min readshariftarver.hashnode.dev