|
|
|
|
|
by grandinj
943 days ago
|
|
That sounds like Julia needs some kind of test suite, that lives alongside the major libraries used in Julia, and verifies that things that interact do so in a reasonable manner e.g. things that implement addition obey the rules of addition, etc, etc.
With a little reflection and some automation, such a tool could be taught to test new Julia libraries and catch problems early. i.e. what I am talking about is effectively informally encoding protocols/interfaces and suchlike in a test-suite, rather than seeking to make it a part of the compiler/language. Not as sexy, no doubt, but flexible and with a short time to get feedback. |
|
Over the last year we've been growing the domain of these as well, and have seen a decrease in bug reports come from it.