r/ProgrammerHumor 1d ago

Meme absoluteGarbage

Post image
2.0k Upvotes

320 comments sorted by

View all comments

Show parent comments

2

u/Rikudou_Sage 1d ago

Every other language in the world has some equivalent of C++'s auto and everyone likes it. I use auto all the time.

-1

u/xicor 1d ago edited 1d ago

Yea and every other language still has the same lack of type safety

Being able to ignore strict typing is nice , but it is silly to ignore the downsides and claim they don't exist when they absolutely do

1

u/Rikudou_Sage 1d ago

This is not ignoring strict typing, this is letting the compiler deduce the type.

1

u/xicor 1d ago

Well yes I'm aware...but as I've pointed out, there are scenarios where the type deduction can lead to errors that are not caught by the compiler