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

Programmer Humor

23241 readers
1527 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
702
CSS (i.imgur.com)
submitted 1 year ago* (last edited 1 year ago) by nullPointer to c/programmer_humor
 

easy to get into trouble for sure.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago (1 children)

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

[โ€“] [email protected] 1 points 1 year 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().