Re:Mozilla releases version 0.1 of the Rust programming lang...
by jbellis on Monday January 23, 2012 @11:11PM
(#3503420)
See also: "Growing a language." http://video.google.com/videoplay?docid=-8860158196198824415 / http://cs.au.dk/~hosc/local/HOSC-12-3-pp221-236.pdf
Re:Mozilla releases version 0.1 of the Rust programming lang...
by tikhonj on Monday January 23, 2012 @11:40PM
(#3503495)
Heh, I actually thought about that talk (and Guy Steele) while I was writing my post. I wanted to include a quote from there, but didn't remember the title of the talk. Thanks for finding it :)
Edit: Actually, I was thinking of a different talk. Or maybe just a random quote I saw somewhere. This talk is still very interesting.
Re:Mozilla releases version 0.1 of the Rust programming lang...
by brson on Tuesday January 24, 2012 @01:28AM
(#3503727)
Tests are mostly built-in to make sure there's no excuse to not test, but it is intended to be minimal and that other test frameworks can build off it (though it's not clear exactly how yet).
Why have first-class unit tests when they could be built on top of some other feature? If tests are part of the language, then using a different testing system (say something in the style of QuickCheck) would probably be at a disadvantage; if you have a language that can support expressive testing as a library, then it would be possible to add different styles of testing.