When your code works, but you don’t know how
@programmerhumor

Just containerize the dev environment and ship that to the customer.

TheHalc
link
fedilink
151Y

Just make sure to add comments like

//Magic, do not touch

To make sure no-one accidentally breaks the spell.

//HERE BE DRAGONS

// Do not delete! Yes, it's not used anywhere in the code, but if it is removed
// the application crashes and the error code is useless for debugging.
let f = 'a';
kamenLady.
link
fedilink
41Y

if ( “a” == “a” ) { // i swear i saw this somewhere }

I once did const theNumber = 4 in a function (and then took a second, actually random, number and compared it to theNumber).

In the comment to the function I actually referenced https://xkcd.com/221/.

If you even know which line of random bullshit you changed that made it work, that is

Create a post

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.
  • 1 user online
  • 77 users / day
  • 211 users / week
  • 413 users / month
  • 2.92K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 33.8K Comments
  • Modlog