# This will produce a runtime error,
# because `Integer + String` is not valid:
The example you are showing here relies on dynamic typing. When you use dynamic typing, pretty much all bets are off. When the website mentions error handling, it talks specifically about using exceptions. Take for example the following Ruby code:
# lots of code here
raise TypeError, 'Foo must be of type X'
Inko tries to tackle this by requiring you to tag methods with the error type, and limits you to only a single error type per method. Combined with having to use `try` or `try!` for such methods, this makes it immediately clear that (and what) a method might throw. If a method tries to throw without the tag, it will not compile.
Is there any data showing that gradual typing is better for beginners than fully dynamic or fully static typing? Off hand I can think of many arguments against this and it’s a surprising find if true.