Better HN
topnewbestaskshowjobs
Log inSign up

crazyowl

1 karma · joined Jun 5, 2012 (14y ago) · 3 submissions

Submissions

comment 13y ago · link · parent

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.

comment 14y ago · link · parent

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 from them in other languages either, static typing or not.

comment 14y ago · link · parent

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?