TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Symmetry

19 pointsby r4umabout 1 year ago

2 comments

psychoslaveabout 1 year ago
The key word in this post is &quot;discipline&quot;.<p>What would you take:<p>- a big feature change on a code that uses only goto as structure flow that was coded by a disciplined experimented coder who had maintainability in mind and hearth<p>- a small bug fix in code base using every C++ feature under the sun by a wanna show beginner
评论 #40285691 未加载
ReleaseCandidatabout 1 year ago
&gt; [...] so it could really be 4 things. We may be missing one.<p>As the code is equivalent to<p><pre><code> if BLA { ... } else if BAZ { ... } else { ... } </code></pre> I do not see a reason why there should be a branch missing. Of course, there is no reason to believe that there isn&#x27;t something missing either, but arguing with symmetry does not help.