News for hackers. Stuff that matters.
Re:Counting Sheeps with Contracts in Python by maleldil on Saturday September 21, 2024 @03:47PM (#41612221)
It kind of is, but pre/post-conditions can be more than that. Also, I'd consider it bad form to have type signatures (which they have) and runtime checking the same types. The whole point of having static typing is decreasing the need for the latter, but you have to actually run a type checker for it to be useful.

There are no comments on this comment yet.