-
- [x] 1. Ik wil een `TimedPriemChecker` maken.
Die weer een decorator pattern gebruikt om zijn `_innerChecker` de echt check te laten doet, maar (als decoratie) de tijd meet in milliseconden dat he…
-
Hi
How should we test decorators?
For example for testing the DatabaseRetryDecorator, we should mock ICommandHandler to throws an exception. Right?
But based on your unit testing book and fragil…
-
# Description
**Nouveauté :** les films provenant du ficher `data/external-movie-data.json` contient un nouveau champ : `trailer_id`. Ce champ correspond à l'ID du trailer du film. Ce dernier est héb…
-
### Clear and concise description of the problem
For brownfield services with non-standard api version patterns we need a way to signal that the parameter or header is specifying the api version for …
-
Avoiding code replication is generally achieved by using classes. However, this solution is not optimal when dealing with functions, simply defined as:
```
def(self, some_arguments)
...
```
…
-
Decorators are a structural design pattern that aim to promote code re-use. Similar to Mixins, they can be considered another viable alternative to object sub-classing.
-
I've recently found out the name of the pattern we're using over and over is actually **decorator**, not **smart proxy**.
Anyway, I've been thinking a lot about this pattern in BeetleBlocks... this i…
-
I couldn't find a pre-existing issue for this, but I figure it might be useful to add support for the decorator factory pattern for the most common transformations (`grad, jit, vmap, pmap`, etc).
C…
-
Siga o exemplo que está na pasta [Design Pattern] e submeta o seu PR sobre o design pattern desta issue.
-
This is not legal, but it should be:
```
object via (decorator) obj {}
```
The semantics are that the transformation would happen after auditing, during the binding of the object names to the …