eviltoast
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@literature.cafe to Programmer Humor@programming.dev · 16 hours ago

NPM driven development

lemmy.ml

message-square
13
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
138

NPM driven development

lemmy.ml

cm0002@literature.cafe to Programmer Humor@programming.dev · 16 hours ago
message-square
13
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
alert-triangle
You must log in or register to comment.
  • Sandbox@lemmy.zip
    link
    fedilink
    arrow-up
    3
    ·
    6 hours ago

    Coding noob here. What am I looking at? I want to laugh too. :(

    • 42yeah
      link
      fedilink
      arrow-up
      7
      ·
      2 hours ago

      npm, or node js by extension, is famous (infamous?) for having a library for however simple something is to implement. For example a whole library to trim spaces of a string, but only for the left side. Here the joke takes it to the extreme and even import numbers, if conditions, etc., features that are already available in the core language, from external npm libraries, and use that to write a code snippet.

    • Tartas1995@discuss.tchncs.de
      link
      fedilink
      arrow-up
      1
      ·
      1 hour ago

      Bad JavaScript Code to make fun of npm.

      But it is just bad code and consequently it weakens the critic that npm deserves.

    • aldhissla@beehaw.org
      link
      fedilink
      arrow-up
      3
      ·
      5 hours ago

      Everything is from an imported library

  • xangadix@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    12 hours ago

    Is this functional programming?

  • bitjunkie@lemmy.world
    link
    fedilink
    arrow-up
    20
    ·
    15 hours ago

    Clearly written by some smug [insert language here] dev… Nobody actually working in the JS/TS ecosystem is using var in 2026.

  • Enkrod@feddit.org
    link
    fedilink
    arrow-up
    19
    ·
    16 hours ago

    condition() is undefined, should be ifCondition()

  • gegil@sopuli.xyz
    link
    fedilink
    arrow-up
    17
    arrow-down
    1
    ·
    15 hours ago

    There wouldnt be a ram crisis if nobody needed a 32 gigs of ram in their pc just to run a “hello world” web app.

  • Sanctus@anarchist.nexus
    link
    fedilink
    English
    arrow-up
    14
    ·
    16 hours ago

    Yeah I write clean readable code, how could you tell?

  • [object Object]@lemmy.ca
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    14 hours ago

    And thus, js becomes lisp.

  • flango@lemmy.eco.br
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    15 hours ago

    standard Javascript experience

    • Tartas1995@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      ·
      1 hour ago

      Only if you write bad js.

  • Marmotte@jlai.lu
    link
    fedilink
    arrow-up
    4
    ·
    16 hours ago

    Satan is taking notes…

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
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

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

  • 1.61K users / day
  • 4.11K users / week
  • 9.3K users / month
  • 16.3K users / 6 months
  • 33 local subscribers
  • 34.1K subscribers
  • 2.67K Posts
  • 105K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.20
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org