• 0 Posts
  • 21 Comments
Joined 1 month ago
cake
Cake day: October 16th, 2026

help-circle
  • Hehehe, ok.

    Those require lines there, they’re importing code written elsewhere. We call that code a library. Take the first one:

    var zero = require("number-zero");

    defines a variable called zero, imports a library called number-zero (not a real library btw, just a joke), and assigns its value (assumed to be the constant 0) to the variable. Later in line 19, zero is read.

    The joke is that you wouldn’t even write line 2 and use a simple 0 instead of zero in line 19. The code is full of unnecessary imports of basic language components.


















  • I’ve once worked on a project where your commits to your dev branch were supposed to be helpful to colleagues for reviews, but they had to be squashed for the feature branch, with comments adhering to the conventional commit “standard”. On the other side of it, there was a horrible pedant of a middle manager, who was rejecting merges based on (debatable) “misformats”.

    This affected billing. They supposedly had some scripts evaluating merge requests, and they’d shrug and say “the script rejected it”. This was before LLMs. Come to think of it, they’re probably replaced by an LLM now, prompted by the customer to “try to defraud and fuck with the workforce on every commit”.

    So to sum up, maybe OP’s in some sort of corporate hell, or maybe they want a bit more than going git commit -m every time.