Author: Adelin Ghanayem
-
Writing Untestable Code: Lessons from a Google Talk
Introduction In 2008, a Google Talk delved into the intricacies of writing untestable code. While the topic may seem counterintuitive, understanding what makes code difficult to test can guide us toward better programming practices. Here’s a summary of the key points discussed. The Intrinsic Knowledge of Writing Hard-to-Test Code Many developers, when asked how to…
-
Angular expressions summary
These examples should provide you with a more detailed understanding of how these expressions are used in Angular templates.
-
Public and Private Key, Digital Signatures and HTTPS
Digital signatures are an essential aspect of modern cryptography and are widely used to guarantee the integrity, authenticity, and non-repudiation of a message or a document. Although there are different algorithms to digitally sign a document, one common method is to use RSA (Rivest-Shamir-Adleman) algorithm. Mathematical Background Before diving into the steps, let’s understand some…