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

Programmer Humor

19593 readers
465 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 1 year ago
MODERATORS
701
CSS (i.imgur.com)
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 

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 8 months ago (1 children)

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

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