all 21 comments

sorted by: hot top controversial new old
[–] 30 points 23 hours ago (1 child)

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

  • source
  • hideshow 1 child comment
  • [–] 18 points 21 hours ago (1 child)

    Is this functional programming?

  • source
  • hideshow 1 child comment
  • [–] 14 points 1 day ago

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

  • source
  • [–] 13 points 1 day ago* (last edited 23 hours ago) (1 child)

    And thus, js becomes lisp.

  • source
  • hideshow 1 child comment
  • [–] 19 points 1 day 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.

  • source
  • [–] 5 points 1 day ago

    Satan is taking notes...

  • source
  • [–] 5 points 14 hours ago (5 children)

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

  • source
  • hideshow 5 child comments
  • [–] 14 points 11 hours ago (2 children)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 4 hours ago

    Oh, I'd recognize those parenthesis anywhere. Any sufficiently complicated javascript program contains an ad hoc, informally-specified, bug-ridden, supply-chain-vulnerable, slow implementation of half of Common Lisp.

  • source
  • [–] 5 points 1 day ago (1 child)

    standard Javascript experience

  • source
  • hideshow 1 child comment
  • [–] 2 points 33 minutes ago (1 child)

    Also known as functional programming.

  • source
  • hideshow 1 child comment
  • [–] 1 point 8 minutes ago*

    Welcome back lisp.

  • source
  • 7 comments in c/programmerhumor@lemmy.ml view that post
    [–] 10 points 1 day ago (1 child)

    Holy hell, these packages don't actually exist... Right?

  • source
  • hideshow 1 child comment
  • [–] 8 points 1 day ago*

    number-that-is-between-one-and-hundred-to-string

    Yikes. You know that's a giant if-else-if based on the name

  • source
  • [–] 7 points 17 hours ago (1 child)

    The sad part is that this is probably safer than using vanilla javascript.

  • source
  • hideshow 1 child comment
  • [–] 6 points 23 hours ago

    I think I just got a stroke

  • source
  • [–] 3 points 8 hours ago

    This reminds me of a drinking game I did once during uni times: the player chooses a word, and if there is an npm package called like that, they drink. The one who finishes the bottle looses it all :)

  • source