About events. One could argue that the example code is really made to look bad in the Java example. Sure, it's easier in C#, but there's no need to invent problems that doesn't have to be there.
No, not crash at runtime. Raise exception in runtime. You know, like NullPointerException in Java? Or ClassCastException? Or OutOfMemeoryException. You'll have more of the runtime errors in Python, but you're not free…
This is true, but if that means python isn't strongly typed, then neither is Java or c++, since they too will convert for you. So, what widely used language is strongly typed then?
About events. One could argue that the example code is really made to look bad in the Java example. Sure, it's easier in C#, but there's no need to invent problems that doesn't have to be there.
No, not crash at runtime. Raise exception in runtime. You know, like NullPointerException in Java? Or ClassCastException? Or OutOfMemeoryException. You'll have more of the runtime errors in Python, but you're not free…
This is true, but if that means python isn't strongly typed, then neither is Java or c++, since they too will convert for you. So, what widely used language is strongly typed then?