|
|
|
|
|
by lesbaker
2436 days ago
|
|
Looks like this is slides from a talk Walter Bright gave which has been posted to YouTube [1]. It helps with some missing context. For example, I wondered why in the slides he felt implementing contract programming in D was a miss; it seemed like a strong selling point for the language. According to the talk (around 1:34:30), however, he felt that contract programming was relatively unpopular/unused in D and that "assert" covered most of the use cases for it. [1] https://www.youtube.com/watch?v=p22MM1wc7xQ |
|
One example:
This scream for more context (and better param names!). With contracts: But I need to see it in the docs, in the tooltips, etc. Now are useful!