discrisknbisque
discrisknbisque on Hacker News
Here's the revised and expanded edition: https://www.amazon.com/World-Record-Paper-Airplane-Airplanes...
And here's the original if you want a hit of nostalgia: https://paperace.com/ken-blackburn-four-times-world-record-h...
``` fn foo(name::"Bob"|genName(2)): if len(name) < 3 Err("Name too short!")
print("Hello ", name)
return::"Hello Bob"|Err
```Right off the bat I don't like that it relies on accurately remembering list indexes to keep track of tests (something you brought up), but it was fun to think about this and I'll continue to do so. To avoid the counting issue you could provide tools like "runTest(number)", "getTotalTests", etc.
One issue: The Loom spec link is broken.
Consumerism, Conformity, and Uncritical Thinking in America
My first game was called "Money 4 Nothing" and you moved a mouse-cursor locked guy around collecting floating cash piles and avoiding guards who usually just shot you on a loop.