Skip to content

Commit

Permalink
fix the broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
bugzmanov committed Feb 10, 2025
1 parent 11cad7a commit 1c9a0b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chapter_33.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ <h2 id="switch-statements"><a class="header" href="#switch-statements">Switch St
It's hard to make a small switch statement. Even a switch statement with only two cases is larger than I'd like a single block or function to be. It's also hard to make a switch statement that does one thing. By their nature, switch statements always do N things.
</div>
<p>By this logic a method can never have if-else statement - they also do N things.</p>
<p>There was a whole movement of <a href="https://www.antiifprogramming.com/about-the-anti-if.php">anti-if programming</a>.
<p>There was a whole movement of <a href="https://www.defusetheifstrategy.com/">anti-if programming</a>.
I'm not quite sure if it's a joke <a href="https://en.algorithmica.org/hpc/pipelining/branchless/">or not</a></p>
<p>Ok, back to Martin:</p>
<div class="book-quote">
Expand Down
2 changes: 1 addition & 1 deletion print.html
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ <h2 id="the-real-problem"><a class="header" href="#the-real-problem">The real pr
It's hard to make a small switch statement. Even a switch statement with only two cases is larger than I'd like a single block or function to be. It's also hard to make a switch statement that does one thing. By their nature, switch statements always do N things.
</div>
<p>By this logic a method can never have if-else statement - they also do N things.</p>
<p>There was a whole movement of <a href="https://www.antiifprogramming.com/about-the-anti-if.php">anti-if programming</a>.
<p>There was a whole movement of <a href="https://www.defusetheifstrategy.com/">anti-if programming</a>.
I'm not quite sure if it's a joke <a href="https://en.algorithmica.org/hpc/pipelining/branchless/">or not</a></p>
<p>Ok, back to Martin:</p>
<div class="book-quote">
Expand Down

0 comments on commit 1c9a0b8

Please sign in to comment.