this post was submitted on 12 Aug 2026
286 points (97.4% liked)

Programmer Humor

32739 readers
1329 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 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] porous_grey_matter@lemmy.ml 31 points 3 hours ago (1 children)

Not sure every software engineer needs to know this. If they'd said web developer I suppose this would really be expected knowledge, but then you'd probably want to shoot them anyway.

[–] Waterpumpee@lemmus.org 5 points 1 hour ago (1 children)

honestly, this is used for debugging. Why not just pass the object as value to the console.log()

[–] TrickDacy@lemmy.world 2 points 8 minutes ago

Not only used for debugging and also if you log a complex object, the way it gets displayed in the console is not always easy/possible to fully inspect. It will get.. truncated for lack of a better word