|
|
|
|
|
by ksml
1861 days ago
|
|
I think there were two main reasons: choosing a popular language (JS and python happen to be among the most popular, accessible languages) and pedagogical simplicity (it's nice to avoid burdening beginners with extra syntax when they're already struggling to learn other things). Some unscientific evaluation showed that students picked up static types just fine in our second programming class (which is in C++) Personally, I think we should be teaching static types and I pushed for Typescript, but it didn't happen. |
|
Another option would be to introduce Python types:
http://mypy-lang.org/examples.html