For fans of Scala's strict type system, but fans of C++:
- Is it possible to force yourself to program C++ with the same strictness? (not using
void*
, not casting a lot, boxing simple value type iestruct Month {int value;};
). - Or is C++ by default even stricter then Scala (if you do not try hard with casts)? Despite the "duck typing" of C++ templates -- it still won't let you compile if it doesn't fit, right?
- Does C++0x (wrt to C++03) add something for someone who is willing to submit oneself to totally typesafe programming?