3 ms·
Not every development language requires compilation. E.g. python
by sys_64738 8y ago
Not every development language requires compilation. E.g. python
- organsnyder 8y agoIt's still getting compiled at some point.
- sys_64738 8y agoAt runtime, which is why you need unit tests and linting as part of your development process.
- davvolun 8y agoStill 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.