4 ms·
Still requires syntactic correctness to be interpreted. The fact it doesn't generate compiled objects is pedantry.
by davvolun 8y ago
Still requires syntactic correctness to be interpreted. The fact it doesn't generate compiled objects is pedantry.
- ken 8y agoThere's plenty of things which are only caught if actually run. I've certainly seen coworkers push code like: if case_that_im_not_going_to_bother_trying_to_test: obj.method_which_doesnt_exist()
- catdog 8y agoThat's the downside of duck typing, could as well be `obj.method_which_might_get_created_at_some_point_at_runtime()`
- heavenlyblue 8y agoI rarely see code in python that I would both like to touch and that uses techniques of this sort.