Logo
HTTP 429: Too Many Requests (Take a hint).
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Tree-shaking Memes

Posts tagged with Tree-shaking

Tree Shaking Maybe Works

React Javascript Programming Frontend Webdev
4 months ago 522.5K views 1 shares
Tree Shaking Maybe Works
You install one tiny date formatting library and suddenly your node_modules folder is the size of a 747. Then you build your "tiny React app" and somehow it's still pulling in half the internet despite tree shaking supposedly removing unused code. Tree shaking is that magical build optimization that's supposed to eliminate dead code from your bundle. In theory, it only includes what you actually import. In practice? Well, your final bundle is still mysteriously 2MB because some dependency deep in the chain decided to import the entire lodash library for one function. The ratio here is painfully accurate. You start with a massive airplane hangar of dependencies, shake the tree real hard, and end up with... a slightly smaller airplane hangar. But hey, at least webpack says it's optimized.

Today's picks

Laptop Screen Extender Monitor Portable - 16.1'' FHD 1200P Portable Screen for Laptops, 360° Rotating, Plug & Play, Detachable Stand, Height Adjustable Laptop Monitor Extender for Mac/Win/Phone/Tablet

Laptop Screen Extender Monitor Portable - 16.1'' FHD 1200P Portable Screen for Laptops, 360° Rotating, Plug & Play, Detachable Stand, Height Adjustable Laptop Monitor Extender for Mac/Win/Phone/Tablet

Affiliate
$179.99
shortest ever java class name

shortest ever java class name

Java
66.4K views 2 years ago
Translation: print the following pattern; Solution

Translation: print the following pattern; Solution

Programming
64.9K views 2 years ago