Upvote!
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@piefed.world to Programmer Humor@programming.devEnglish · 1日前

You typical Node project

lemmy.ml

message-square
64
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
509

You typical Node project

lemmy.ml

cm0002@piefed.world to Programmer Humor@programming.devEnglish · 1日前
message-square
64
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • fahfahfahfah@lemmy.billiam.net
    link
    fedilink
    English
    arrow-up
    30
    ·
    23時間前

    And this is why tree shaking exists.

    • sheepishly@fedia.io
      link
      fedilink
      arrow-up
      1
      ·
      2時間前

      I feel like the end result of tree shaking would be the image here https://fedia.io/m/programmer_humor@programming.dev/t/2547352/CSS-Gardening

      • I Cast Fist@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        52分前

        Gotta fix that link

    • kamen@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      11時間前

      It’s great when it works, yeah.

    • candyman337@lemmy.world
      link
      fedilink
      arrow-up
      14
      ·
      23時間前

      What is that?

      • Nat (she/they)@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        11
        ·
        12時間前

        Dead code elimination but with a different name for some reason

        • QuazarOmega@lemy.lol
          link
          fedilink
          arrow-up
          2
          ·
          10時間前

          Because we’re monkeys

      • NewDark@lemmings.world
        link
        fedilink
        arrow-up
        40
        ·
        22時間前

        If you import 1% of your module code, you only compile the actual used code. Tree shaking is removing dead code paths that aren’t used.

        • candyman337@lemmy.world
          link
          fedilink
          arrow-up
          13
          ·
          22時間前

          Ah ok gotcha

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.99K users / day
  • 4.81K users / week
  • 8.64K users / month
  • 20.1K users / 6 months
  • 1 local subscriber
  • 25.6K subscribers
  • 1.56K Posts
  • 52.8K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.6
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org