TLDR Web Dev

TLDR WEB DEV 2024-04-25

5 sections13 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

MAKE INVALID STATES UNREPRESENTABLE

Invalid states can lead to runtime errors and less reliable code. However, by shrinking the gap between representable, valid states, errors can be moved from runtime to compile time, which allows them to get caught much earlier. Type systems can and should be used to model business logic that makes invalid states impossible and unrepresentable. This article goes through a few examples, such as a “Color” type that prevents invalid colors.

links.tldr.tech11 min read

WHY DON'T WE TALK ABOUT MINIFYING CSS ANYMORE?

Minifying CSS files directly is less important today compared to before because popular front-end frameworks automatically handle minification and code-splitting for developers. Modern compression algorithms can reduce file sizes a lot and HTTP/2 can efficiently deliver multiple smaller CSS files. As a result, developers no longer have to manually minify their CSS.

links.tldr.tech8 min read

02OPINIONS & ADVICE

WHY WE SUCK AT ESTIMATING SOFTWARE PROJECTS

Software is hard to estimate correctly because requirements change often, complexities always come up, and external factors can cause delays. There's no perfect solution to this problem because software development is inherently a creative process.

links.tldr.tech4 min read

WHAT IS YOUR DEFINITION OF A UNIT, INTEGRATION, AND E2E TEST?

Various software engineers were polled on the difference between different types of tests. The general consensus was that unit tests test the smallest units of code, like methods. Integration tests verify interactions between different parts of a system. End-to-end tests focus on the overall user journey and are more heavyweight.

links.tldr.tech6 min read

03LAUNCHES & TOOLS

LANGCSS

LangCSS is an AI assistant specifically trained on Tailwind CSS to help you generate forms, buttons, and other web elements easily. You can chat with it to describe your ideas and the AI assistant will generate code in real time.

links.tldr.techTool

PRAGMATIC DRAG AND DROP

This is Atlassian's open-sourced drag-and-drop toolchain. It can be used with any view layer, such as React, Svelte, and Angular, and currently powers products like Trello, Jira, and Confluence.

links.tldr.techGitHub repository

04MISCELLANEOUS

THE RISE AND FALL OF THE LAN PARTY

LAN parties were gatherings where gamers would connect their computers to a local network to play games with minimal network lag. LAN parties declined over time because the internet got faster and consoles became more popular.

links.tldr.tech14 min read

WHY AREN'T WE TALKING ABOUT CONTINUOUS IMPROVEMENT?

Continuous improvement is a key principle of Agile and Lean, but it's not as popular anymore in tech companies. Layoffs and transformations often happen without employee involvement, and there's a general lack of engagement in improving processes.

links.tldr.tech4 min read