this post was submitted on 14 Feb 2025
671 points (99.0% liked)

Programmer Humor

20703 readers
2436 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] vfsh@lemmy.blahaj.zone 30 points 6 days ago (1 children)

I did this to myself last week on a new project. Spent an hour trying to track down at what point in my code the data from the database got converted to [Object object]. Finally decided to check the db itself and realized that the [Object object] was coming from inside the house the whole time and the error in my code was when the entry was being written smh

[–] Lightfire228@pawb.social 12 points 6 days ago (1 children)

Sanity checks

Always, always check if your assumptions are true

  • am i even running the function?
  • is this value what i think it is?
  • what is responsible for loading this data, and does it work as expected?
  • am i pointed at the right database?
  • is my configuration set and loaded in correctly?
[–] urquell@lemm.ee 1 points 2 days ago

print("hello") print("hello1") .... print("wtf!")