6 comments

[ 3.0 ms ] story [ 23.9 ms ] thread
I don’t get it. What else could it possibly output first, and what languages do that?
An exception. It could also not compile, making it never print out the "Hello!" line.
Okay, but I still don't think it's obvious where types come into this.. is it because the function definition for main has no return type?
Found a nerd! Get 'em!

(just kidding of course, matching the tone of the article)

Or, the error message could print the failing line along with the error.

Wouldn't that make it a stupidly typed language?

I think it's a joking dig, saying that dynamic (interpreted) languages are stupid while compiled languages are not. `im_stupid()` is not defined, so there should be a compilation error. If it first prints the output of `print` before giving an error about `im_stupid` not being defined, it's a dynamic language, and (according to the author) that's stupid.