I once worked with a senior dev who wrote all his array iteration for loops with no condition e.g “for int i = 0 ;; i++” and added an “if i == array.length then break” type condition to the end of every block… And he genuinely didn’t see this as a problem at all.

Leyla :)
creator
link
fedilink
61Y

This was something I did in school to fuck with the teacher. He said all he cared about was output so as long as the code all worked, we could make it as stupid as we want. He taught us really good basics though. Really encouraged us to learn more about coding ourselves so that we could make the next best shitpost for the class. My favorite was creating stupid arithmetic functions. What the fuck is i++? I only know the function increaseIByOne

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
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.48K Posts
  • 32.7K Comments
  • Modlog