TLDR Web Dev

TLDR WEB DEV 2024-04-03

5 sections16 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

JAVASCRIPT VISUALIZED - PROMISE EXECUTION

This blog post shows how to use promises in JavaScript to enable non-blocking async tasks. It breaks down the process from start to finish. Promises can trigger an asynchronous action if a handler is attached by either then or catch. Since the handlers are pushed to the Microtask Queue, you can handle the eventual result in a non-blocking way. This makes it easier to handle errors, chain multiple operations together, and keep your code more readable.

lydiahallie.framer.website7 min read

WHY CHOOSE ASYNC/AWAIT OVER THREADS?

The debate between using threads and async/await in Rust revolves around simplicity, performance, and composability. While threads may offer familiarity and straightforwardness, async/await is better in I/O-bound scenarios due to its composable code.

bit.ly12 min read

02OPINIONS & ADVICE

FEAR MAKES YOU A WORSE PROGRAMMER

Fear leads to overly cautious behavior and can hinder important code or system changes. Tools and team processes like version control, testing, and blameless postmortems can help mitigate fear. Programmers should feel comfortable making changes without the fear of breaking things or facing punishment. While some fears may be irrational, overcoming them through positive experiences can build confidence and improve software development.

jvns.ca4 min read

SYNTAX HIGHLIGHTING IS A WASTE OF AN INFORMATION CHANNEL

Syntax highlighting today uses color to distinguish code elements, but this doesn’t fully utilize the power of color to convey information. We could use dynamic color highlighting overlays to communicate things like scope, imports, argument flow, types, or even metadata about test failures.

buttondown.email4 min read

A16Z BLOGS ARE JUST GLORIFIED MARKETING

a16z blog posts are subtle marketing for its portfolio companies rather than offering impartial overviews of technology landscapes. This author notes how an a16z post on LLM architectures omitted competing open-source vector database solutions in favor of one it funded. This pattern extends to other a16z publications and even its voting practices with crypto companies.

frankzliu.com4 min read

03LAUNCHES & TOOLS

BUN 1.1

Bun 1.1 is a major update that brings Windows Support, better Node.js compatibility, more APIs, faster performance, and more.

bun.sh29 min read

CREO

Creo helps developers to rapidly build internal tools by providing an AI-powered solution. Developers describe what they want and it handles the UI, authorization, approvals, auditing, and deployment, generating React code that is customizable.

trycreo.comTool

SWE AGENT

Princeton has released a SWE agent that uses LLMs to fix bugs and issues in real GitHub repositories.

github.comGitHub repository

04MISCELLANEOUS

MENTAL HEALTH IN SOFTWARE ENGINEERING

This article shares a tech co-founder's struggle with anxiety and burnout, which stemmed from the intense work environment in the startup world. Neglecting mental health can take a heavy toll. To manage his anxiety better, the author set boundaries and prioritized self-care.

vadimkravcenko.com11 min read

THE SECRET TO DUOLINGO’S EXPONENTIAL GROWTH

Duolingo's VP of Engineering Sean Colombo shares five crucial growth lessons learned over five years that resulted in 6x growth in DAU. Colombo provides a handful of insights into Duolingo's sustained growth in product development and user engagement by highlighting the importance of urgency, strategic advantage identification, and prudent notification management. Duolingo continues to thrive in the competitive market by experimenting smartly and focusing on users.

open.substack.com17 min read