Patterns - raisercostin/software-wiki GitHub Wiki

There are big patterns and small patterns, patterns of architecture components, deployment components, code, entities, objects, etc. There are also anti-patterns, code smells, code idioms, idiomatic code for a language (java, scala, javascript, functional), aspect, good-bad-ugly parts.

Code Patterns

Dynamic Reference

A wrapper around an object that is cached/memoized till is invalidated when is computed again. Is implemented via a Supplier object. You have 2 things: dirty detection condition and supplier object that knows how to create a new object. Automatically you have proxy from the immutable object to the mutable one.

Code Smells

Good-Bad-Ugly analysis