TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Can't Driven Development

35 点作者 rmanolis6 个月前

8 条评论

sunir6 个月前
Guard conditions, assertions, constraints and tests are dynamic limits on code and are critical to maintain quality despite code rot and drift from changes.<p>Static constraints like types can also be also good, where types are good.<p>I applaud anyone who advocates to focus on the unhappy path over the happy path.<p>On a side note 25 years ago was the end of the dot.com and the height of the y2k scam and I have never seen developers more burnt out than then; but that’s because I was just starting my career then. I don’t know about previous eras like the 89 crash and recession.<p>I am not sure why the OP has rose coloured glasses of the past. But it’s always good to treat history with a little more interest.
评论 #42293188 未加载
hitchstory6 个月前
This doesnt make a lot of sense. The set of things your software cant do is infinite. The set of potential errors is massive and many if not most are unrelated to domain logic.
评论 #42294854 未加载
athorax6 个月前
This is just TDD. Your tests should be written to verify and gaurd against &quot;cants&quot; not verify the happy path
评论 #42293154 未加载
svilen_dobrev6 个月前
negative assertions are more powerful&#x2F;expressive than positive ones. e.g. &quot;Not an enemy&quot; is more powerful than &quot;A friend&quot; - the latter limits the possibilities a lot.<p>or, #ifndef GONE is more powerful&#x2F;flexible than #ifdef PRESENT<p>Of course, sometimes one wants exactly that specific things that positive assertions do. But IMO that&#x27;s rarely the case, it&#x27;s just going positive seems simpler&#x2F;easier to think of.<p>one may say, in some system of rules, &quot;Dont&#x27;s&quot; are more usable than &quot;Do&#x27;s&quot;. Think cultures..
cfrak6 个月前
This is just TDD without tests.
评论 #42297928 未加载
QuasarOne6 个月前
CCD is an analysis, not a development method.
rmanolis6 个月前
The best way to architect, test and develop software
评论 #42292526 未加载
thanks_dang6 个月前
Well boys, it’s not quite April 1st but the shitposts can’t wait and Christmas came early this year.