TLDR Web Dev

TLDR WEB DEV 2025-06-16

5 sections14 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

THINGS TO AVOID IN JAVASCRIPT

JavaScript devs should avoid common pitfalls that can lead to bugs and reliability issues. Important things to avoid include using `innerHTML` for setting text, relying on `JSON.stringify()` for object cloning, overusing regular objects as associative arrays, and utilizing `eval()` for code execution.

waspdev.com11 min read

02OPINIONS & ADVICE

THE CASE FOR SOFTWARE CRAFTSMANSHIP IN THE ERA OF VIBES

The increased accessibility of code generation through AI should elevate the standard for software quality, not just quantity. System design and taking ownership of the user experience is even more important now.

zed.dev6 min read

LESSONS FROM 9 MORE YEARS OF TRICKY BUGS

In this developer's nine years of tricky bugs, common coding errors involved empty cases, date-related logic, data format upgrades, and aliased dictionaries. Good testing had exploratory methods, smaller test environments, and accounted for varied access rights. Debugging relied on detailed logging, collaboration, alerting systems, and reproducing issues with minimal examples.

henrikwarne.com8 min read

03LAUNCHES & TOOLS

Sponsored

SHIP DELIGHTFUL INBOXES, NOTIFICATION FEEDS, AND LIFECYCLE MESSAGES INSIDE YOUR APP

Knock is the complete toolkit for in-product messaging [8] with drop-in React components and realtime stateful APIs. It's used by companies you use everyday: Vercel, Zapier, Webflow. It's got everything you need for best-in-class notifications that actually feels native to your product. It's free for 10k notifications/mo. Get

knock.appSponsor

AMAZINGPRINT

AmazingPrint is a Ruby gem that provides customizable, colorized pretty-printing of Ruby objects with proper indentation, including support for Rails and IRB/PRY integration.

github.comGitHub repository

WILDCAT

Wildcat is a high-performance, open-source, embedded key-value database engine written in Go with C interoperability. It has a log-structured merge tree architecture, multi-version concurrency control, ACID transactions, and various iteration and configuration options for optimal read/write performance and durability.

github.comGitHub repository

04MISCELLANEOUS

CAN AI REBUILD A RAILS PAGE IN NEXT.JS? WE TRIED IT

These developers attempted to rebuild a page from an internal Rails app using Cursor with different LLMs (Gemini 2.5 Pro and Claude 4). After three attempts with varying degrees of success, the LLMs almost completed the task, missing only a simple "use client" directive to make it fully functional.

thoughtbot.com3 min read

SOURCE CODE SANDBOXING

It's easier than expected to implement source code sandboxing, which limits a program's access to system resources, across various operating systems and languages in 2025. This article goes over tools like seccomp, landlock, seatbelt, Capsicum, pledge, JSM, secmodel, and privileges, analyzing the complexity of their documentation and implementation through code examples and a case study of OpenSSH. The findings suggest OpenBSD's pledge has seen the most success due to its simplicity, while Linux's seccomp is considerably more complex.

kristaps.bsd.lv6 min read