SMRTR Programming

Programming stories

Get hand-picked daily summaries of the best, most informative programming articles from around the web. Browse recent summaries, then jump to the original source when you want the full article.

Latest storyDec 31, 2024

Understanding how your code works

React manages component state using a sophisticated internal system. The useState() hook associates state with specific components through React's reconciliation process. When setCount() is called, React efficiently updates only the relevant component, triggering a re-render. This mechanism allows for precise state management without affecting other components. While the implementation details are complex,...

Latest stories

So You Want to Write Java in Neovim

Neovim, with JDTLS language server and plugins like nvim-jdtls or nvim-java, provides a lightweight yet effective Java development environment, offering LSP support, debugging, and testing capabilities for developers who prefer...

Crack Open These 20+ Elixir Goodies

GitHub hosts numerous open-source Elixir projects and libraries. These cover a wide range of functionalities including database connectors, job processing, API clients, parsers, and web frameworks. Developers can contribute to or...

GitHub GraphQL API and TypeScript

Megaera, a new GraphQL-to-TypeScript generator, simplifies the creation of type-safe GraphQL queries. It generates TypeScript types from specific GraphQL operations, offering an easier configuration process compared to GraphQL...

SMRTR Programming

Get the next batch of curated stories in your inbox.

This archive is built from SMRTR newsletter stories. Subscribe for hand-picked stories without the extra noise.

More recent stories

Fun facts about SQLite

SQLite, the world's most deployed database with over one trillion active instances, is maintained by just three people who don't accept outside contributions. Its unique public domain status, rigorous testing, and widespread use...

Software Design is Knowledge Building

SVC, an in-house system built to replace expensive middleware SaaS at ORG, became difficult to maintain after its original developer left. The project highlights how software development relies on developers understanding the...

Database mocks are not worth it

Database testing with real data reveals issues like constraint violations and performance problems, future-proofs against schema changes, maintains realistic states, and isolates testing concerns across layers, saving time and...

A Beginner’s Guide to JUnit 5

JUnit 5, the latest version of a popular Java testing framework, supports Java 8 and above with improved features and modularity. Key features include test suites, assertions, customizable execution order, exception testing, and...

The Laravel–Next.js turf war

The Laravel and Next.js frameworks are increasingly overlapping in functionality. Laravel's Inertia.js 2.0 release introduces features similar to Next.js, including async requests, deferred props, and prefetching. This...

The bridge to modern React

React Router v7 introduces a significant shift, bringing Remix features back into React Router to create a bridge to React 19's server-focused future. The update offers two modes: Library Mode for traditional SPA setups and...