News for hackers. Stuff that matters.
Re:Why might a C++ programmer say “I could never write Python”? by toolslive on Saturday January 24, 2015 @02:05PM (#8940556)
you can also create a c++ example where a 'bool' gets unintentionally promoted to an 'int' causing the compiler to pick the wrong template without a the compiler emitting a warning.

Or in C++ you forget to add "=0" to a method in a virtual class and you get a weird link error. Or in the not so distant past, forgetting to add a semi colon to a class definition... Or a simple mistake that makes the compiler emit 40+ errors on non-fitting candidate templates.

mumble mutter "pot" mutter mumble "kettle"

There are no comments on this comment yet.