Programming
Articles related to programming
April 12, 2025
Rust's `for &value in &vec` borrows & dereferences vector elements, maintaining ownership.
March 1, 2025
Rust's memory management uses ownership and borrowing. One owner per value, automatic cleanup, and lifetimes prevent memory issues.
February 25, 2025
Rust library creation & usage: Create `utils` lib, define functions (add, subtract) in nested modules. Main app uses `utils` via `Cargo.toml`. Learn module structure & dependency management.
March 1, 2025
Kotlin scope functions (let, with, also, run): Null checks, object manipulation, side effects, and initialization. Improve readability with `it`/`this`.
February 14, 2025
Astro & Prisma count-up app: Setup Astro, define a Counter model in Prisma, build an API for count updates, and create a React component for the UI.