this post was submitted on 03 Oct 2025
218 points (97.8% liked)

Programmer Humor

38722 readers
71 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] squeamish_ossifrage@lemmy.today 1 points 1 week ago (1 children)

console.log('func', {A, B, C})

[โ€“] dumnezero@piefed.social 1 points 1 week ago

While that works, of course, I avoid doing object construction or other logic beside some string concatenation in JS logs. And those string literals serve a purpose as semantic markers, not just as separators.