TLDR Web Dev

TLDR WEB DEV 2024-05-31

6 sections18 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

Sponsored

Your site was super fast when you built it – but now it's 6 months later, and that thing feels slower than a 4-hour Scorcese movie.

speedcurve.comSponsor

02ARTICLES & TUTORIALS

DON'T DRY YOUR CODE PREMATURELY

The DRY (Don't Repeat Yourself) principle can be harmful if applied prematurely. Early abstractions can lead to unnecessary complexity where future requirements may require independent evolution of seemingly similar looking pieces of code. Instead of blindly following DRY, developers should always think through what code sections are truly redundant or may evolve in the future based on business requirements.

testing.googleblog.com2 min read

03OPINIONS & ADVICE

THE DECLINE OF THE USER INTERFACE

UI and UX over time have gotten worse. For example, current web interfaces often lack basic functionalities like "Ok" and "Cancel" buttons, require overly precise mouse movements, and lack clear visual cues for active elements or application identification.

infoworld.com7 min read

UNEXPECTED ANTI-PATTERNS FOR ENGINEERING LEADERS — LESSONS FROM STRIPE, UBER & CARTA

This article challenges three common engineering leadership anti-patterns. First, it argues against always avoiding micromanagement, suggesting that leaders should engage in "conflict mining" to understand context and write down the details of company strategies. Second, it advocates for measuring imperfect but useful metrics over waiting for perfect ones. Lastly, it challenges the idea of managers as umbrellas, suggesting that exposing teams to the "gory details" and providing less buffered information is probably better in the long run.

review.firstround.com32 min read

WHY, AFTER 6 YEARS, I'M OVER GRAPHQL

After initially being a GraphQL advocate, this developer now advises against its use due to several issues he encountered. These include increased attack surface due to query language exposure, difficulties in implementing effective rate limiting, challenges with query parsing and server overload, performance issues like N+1 problems and data authorization inefficiencies, and the overall complexity of maintaining a GraphQL codebase.

bessey.dev12 min read

04LAUNCHES & TOOLS

Sponsored

7 ESSENTIAL APPS FOR MONDAY.COM

On monday.com [17]? If you're not using the app marketplace, you're seriously missing out. Check out this handy guide [16] to learn how to

appfire.comSponsor

SVG GOBBLER

SVG Gobbler is an open-source browser extension that finds SVG content in the current tab and lets users optimize, download, copy, edit, or export it.

github.comGitHub repository

REACT PDF

React PDF provides a way to display PDFs in your React app as easily as if they were images.

github.comGitHub repository

MITOSIS

Mitosis allows developers to maintain a consistent design system across all frameworks. It allows developers to build components in a single codebase and compile them to React, Vue, Angular, Svelte, Solid, Alpine, Qwik, and more.

github.comGitHub repository

05MISCELLANEOUS

UNDERSTANDING THE COST OF GENERATIVE AI MODELS IN PRODUCTION

Deploying Generative AI models is expensive just beyond raw compute. Developers also need to be mindful of the costs of container services, networking, load balancing, autoscaling, logging, and continuous integration. Sometimes, managed services might be cheaper than self-hosted solutions even if raw compute costs are higher initially.

philschmid.de4 min read

AI OVERVIEWS: ABOUT LAST WEEK

Google recently launched AI Overviews, an AI-powered search feature designed to help users with complex queries. Odd and erroneous overviews were reported on social media, some of which were faked. Google explained that AI Overviews, unlike chatbots, are integrated with the company's core web ranking systems and prioritize accuracy by linking to reputable sources. The odd results stemmed from misinterpretations of nonsensical queries, satirical content, and user-generated content, as well as data voids. Google has now made improvements to detect these issues.

blog.google4 min read