this post was submitted on 20 Mar 2024
699 points (97.3% liked)

Programmer Humor

19821 readers
2 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
699
CSS (i.imgur.com)
submitted 9 months ago* (last edited 9 months ago) by nullPointer@programming.dev to c/programmer_humor@programming.dev
 

easy to get into trouble for sure.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] csm10495@sh.itjust.works 1 points 9 months ago (1 children)

.. effortless casting could be a negative depending on who ya ask.

[โ€“] SuperSpruce@lemmy.zip 1 points 9 months ago

I'm of the opinion that it's a positive. Often I use "string" + number to access HTML elements and it just works. I can even use it to concatenate arrays.

Meanwhile, when I try to debug in C++ with cout statements, half the time it doesn't even do anything even though I use std::to_string().