Bookmarks tagged “code”

211 bookmarks tagged “code”

What’s so great about functional programming anyway?

What’s so great about functional programming anyway?

· jrsinclair.com

To hear some people talk about functional programming, you’d think they’d joined some kind of cult. They prattle on about how it’s changed the way they think about code. They’ll extol the benefits of purity, at length. And proclaim that they are now able to “reason about their co

Why React Re-Renders

Why React Re-Renders

· joshwcomeau.com

In React, we don't update the DOM directly, we tell React what we want the DOM to look like, and React tackles the rest. But how exactly does it do this? In this tutorial, we'll unpack exactly when and why React re-renders, and how we can use this information to optimize the perf

How not to learn TypeScript

How not to learn TypeScript

· fettblog.eu

“TypeScript and I are never going to be friends”. Oh wow, how often have I heard this phrase? Learning TypeScript, even in 2022, can be frustrating it seems. And for so many different reasons. People who write Java or C# and find out things are working differently than they shoul