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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The UK government's Covid-19 simulation model has many programming bad practices

6 点作者 pentestercrab大约 5 年前

2 条评论

72deluxe大约 5 年前
At a very very quick glance, the one-liner if statements without curly braces is killing me. Definition of the variables at the start of the functions (eg. int i) makes me think this is an old C developer.<p>Needs more use of obtuse STL and difficult-to-read use of modern C++ template and decltype stuff to be true C++! More use of tuple and std::get&lt;&gt; is needed.<p>It&#x27;s probably really fast though.
murkle大约 5 年前
<p><pre><code> } &#x2F;&#x2F;added these braces</code></pre>