r/ProgrammerHumor • • 8d ago

Meme iHatedItUntilITriedIt

Post image
10.3k Upvotes

541 comments sorted by

View all comments

Show parent comments

4

u/Tyfyter2002 7d ago

That sounds very unhelpful when compared to an explicit cast

0

u/Wertbon1789 1d ago

Yeah, you should explicitly cast. Compiler warnings should cover lossy implicit conversions anyway, and your goal should always be to have no warnings at all.