Skip to content

Commit

Permalink
Merge branch 'legacy-security-haskell'
Browse files Browse the repository at this point in the history
  • Loading branch information
ploeh committed Nov 4, 2024
2 parents d61bacc + 23cac0e commit db5d4b1
Show file tree
Hide file tree
Showing 6 changed files with 375 additions and 0 deletions.
1 change: 1 addition & 0 deletions _posts/2021-02-22-pendulum-swings.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ <h3 id="36d029a90bfa4d35a7e8fc10048b8bcc">
<li><a href="/2021/03/01/pendulum-swing-internal-by-default">Pendulum swing: internal by default</a></li>
<li><a href="/2021/03/08/pendulum-swing-sealed-by-default">Pendulum swing: sealed by default</a></li>
<li><a href="/2021/03/15/pendulum-swing-pure-by-default">Pendulum swing: pure by default</a></li>
<li>Pendulum swing: no Haskell type annotation by default</li>
</ul>
I'd be naive if I believed these to be my final words on any of these topics. I'm currently trying them out for size; in a few decades I'll know more about how it all turns out.
</p>
Expand Down
3 changes: 3 additions & 0 deletions _posts/2021-03-15-pendulum-swing-pure-by-default.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,7 @@ <h3 id="bb9264be0f1648b48f6572e1054fab95">
<p>
From having favoured fine-grained Dependency Injection, I now write all decision logic as pure functions by default. These only need to implement interfaces if you need the <em>logic</em> of the system to be interchangeable, which isn't that often. I do still use Dependency Injection for the impure dependencies of the system. There's usually only a handful of those.
</p>
<p>
<strong>Next:</strong> Pendulum swing: no Haskell type annotation by default.
</p>
</div>
Loading

0 comments on commit db5d4b1

Please sign in to comment.