News for hackers. Stuff that matters.
Re:On Learning Rust and Go: Migrating Away from Python by vonseel on Sunday March 24, 2019 @06:36PM (#19479169)
> having to use lots of assert(isinstance(arg, type) at the beginning of almost every function

Python should not be written like this; assertions can be ignored at runtime: https://docs.python.org/3/using/cmdline.html#cmdoption-o

A much better solution is to use qualified try/except blocks to handle potential errors.

There are no comments on this comment yet.