Total shitpost. We use let now.
this post was submitted on 17 Jun 2023
96 points (95.3% liked)
Programmer Humor
32473 readers
518 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
You mean const
.
Const ipated = 1;
Unless you code for an ancient java class that includes js code... (yuck)
No, no rewrite, it's going to de replaced soon(tm)... (like the cobol code)
This is art
I code in Python. Can someone explain what is that magic require function here with a bunch of strings?
it's how modules get loaded with node.js
Either that for the sweet sweet node_modules
, or this for the code golf:
Array(100).fill().forEach((_, n) => console.log((++n % 3 ? "" : "Fizz") + (n % 5 ? "" : "Buzz") || n));
is this node version 12?
It doesn't look like condition
is imported, only ifCondition
so I'm not sure that will run