Is your code Singular? Responsible? Principled?

Originally published at: https://froware.com/2019/04/17/is-your-code-singular-responsible-principled/

Originally published by Siobhan Baker at Is your code Singular? Responsible? Principled? Is your code Singular? Responsible? Principled? In this blogpost I’ll be discussing what I’ve learned about the below terms whilst coding a Tic Tac Toe game as a new Apprentice: Single Responsibility Principle Encapsulation Polymorphism Duck Types Over the past couple of weeks…

1 Like

As I’ve spent most of my career using statically-typed languages (Java, C#, etc), duck typing is actually a relatively unfamiliar concept for me. While I do actually encounter it frequently in certain scenarios (e.g. foreach loops in C#), I don’t tend to think of or refer to those cases with that label, so thanks for the enlightening perspective!