#immutability

[ follow ]
GitHub
2 months ago
JavaScript

GitHub - unadlib/use-mutative: A 2-6x Faster Alternative to useState with spread operation

UseMutative is 2-6x faster than useState with spread operation, more than 10x faster than useImmer.
RawReturn() can be used to wrap return values without drafts for performance improvement. [ more ]
Medium
2 months ago
Scala

Simple Hash Map with Scala in 15 minutes

Use chaining to resolve collisions in hash map implementation
Support operations add, remove, and get with immutability for new map creation. [ more ]
Medium
5 months ago
JavaScript

Functional Programming In JavaScript: Beginner's Guide

Functional programming emphasizes pure functions, immutability, and higher-order functions.
Functional programming brings benefits like readability, predictability, concurrent execution, and reusable code. [ more ]
#null-handling
Medium
8 months ago
Scala

A few nice Rust features from a JVM/C perspective

Rust is a growing language used in various applications and systems.
Rust has interesting traits and features that set it apart from other languages. [ more ]
Medium
8 months ago
Scala

A few nice Rust features from a JVM/C perspective

Rust is a growing language in popularity and is used in various applications and systems.
Rust features like handling nulls using Option enum and default immutability provide advantages over other languages like Java and Scala. [ more ]
morenull-handling
[ Load more ]