Re:The tragedy of 100% code coverage (2016)
by vincnetas on Tuesday May 09, 2017 @12:44AM
(#14297792)
What are the languages that have testing not as afterthought?
[ Parent
| on HN ]
This depends on how you think of things. Some languages (Eiffel?) have pre- and post-conditions, which do some of this job. Much of the boilerplate testing done for dynamic languages is done by the compiler for static languages. The borrow checker in Rust is doing the work that a test suite and/or static analysis tool would be doing for C/C++
Re:The tragedy of 100% code coverage (2016)
by realusername on Tuesday May 09, 2017 @12:52PM
(#14301662)
Definitely Ruby in general, testing is a core of the language culture.
That doesn't mean testing isn't an afterthought in Ruby, the language. It means the culture built up a defense against writing buggy code.