One of the big benefits of static websites is simplicity. Static websites are simple so there is much less to worry about. There are no login credentials to be compromised. There is no dynamic content that must be stored and displayed. There is no danger of a bug in the code allowing SQL injections. But there are still things that should be done to secure a static website. In this blog post I will list some of the important things that still need to be done to provide a secure static website.
The Best Book on Code Reviews
The Best Kept Secrets of Code Review by SmartBear software has influenced how I create pull requests and perform code reviews more than any other book I have read. I read it back in 2015 and a lot of the findings from the studies in the book have stuck with me.
The Problem With Elixir’s with
Summary: Return values from different expressions in a with
block can only be distinguished by the shape of the data returned. This creates ambiguity in with
's else
clauses that make code harder to understand and more challenging to modify correctly.
with
has existed in Elixir since version 1.2 and is widely used. But there are downsides to this construct. In this blog post I’ll explore the problems caused by use of with
in a codebase. I’ll assume you know how with
works and have read the docs so I will skip over the basics of how it works.