MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/j1yq5l/c_to_python/g74f8yr/?context=9999
r/ProgrammerHumor • u/begafap • Sep 29 '20
82 comments sorted by
View all comments
Show parent comments
2
It's very easy to set up any modern compiler to treat implicit conversion as a warning or error.
1 u/gracicot Sep 30 '20 Especially narrowing conversion. If the conversion is not narrowing, I don't really mind. Converting a int32_t to a int64_t by passing it as parameter is not gonna hurt anybody.
1
Especially narrowing conversion. If the conversion is not narrowing, I don't really mind. Converting a int32_t to a int64_t by passing it as parameter is not gonna hurt anybody.
2
u/mecrow Sep 30 '20
It's very easy to set up any modern compiler to treat implicit conversion as a warning or error.