12 Matching Annotations
- Sep 2023
-
www.digitalocean.com www.digitalocean.com
-
Well-thought-out, idiomatic APIs
-
- Feb 2021
-
en.wikipedia.org en.wikipedia.org
-
I think a better, more immediately understandable name for this concept would be command object, because it lets you pass around commands (or a list of commands) as objects.
That's the only thing you really need to know abut this pattern. The rest seems like boring implementation details that aren't that important, and that naturally follow from the primary definition above.
-
-
www.cise.ufl.edu www.cise.ufl.edu
-
The basic idea of this pattern is much like the idea of an assembly line
-
-
github.com github.com
- Oct 2020
-
medium.com medium.com
-
However, after solving this problem a few times, a pattern appeared.
-
-
github.com github.com
-
This library exports a single React Hook, useMethods, which has all the power of useReducer but none of the ceremony that comes with actions and dispatchers.
-
- Sep 2020
-
Local file Local file
-
in constructing representations of how to supportlearning in particular cases
It reminds me of conjecture mapping. Are we going to make the similar thing?
-
- Apr 2020
-
xunitpatterns.com xunitpatterns.com
- Mar 2020
-
stackoverflow.com stackoverflow.com
-
The pattern below has become exceptionally useful for me (pun intended). It's clean, can be easily modularized, and the errors are expressive. Within my class I define new errors that inherit from StandardError, and I raise them with messages (for example, the object associated with the error).
-
- Oct 2019
-
stackoverflow.com stackoverflow.com
-
Rack middleware is more than "a way to filter a request and response" - it's an implementation of the pipeline design pattern for web servers using Rack. It very cleanly separates out the different stages of processing a request - separation of concerns being a key goal of all well designed software products.
-
- Mar 2018
-
compilers.cs.ucla.edu compilers.cs.ucla.edu
-
Visitor design pattern
访问者设计模式
-