4
votes
Accepted
Data pipeline that handles errors and cancellations
You are correct that you should not use context this way. Context is for request context and cancellation.
I encountered different approaches for handling errors in concurrent pipelines. One way is to ...
3
votes
Accepted
Mail Client - Displaying email details for selected JTable Row
The major issue is that there's no proper Separation of concerns.
All application components are stuffed into the Main class, with no concerted effort to delineate clearly their areas of concerns. You ...
2
votes
Data pipeline that handles errors and cancellations
Use of func(error) to report errors
I don't see anything intrinsically wrong with passing a func(error) to each callee per se:
<...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
design-patterns × 1427c# × 461
object-oriented × 385
java × 300
c++ × 179
python × 122
php × 119
javascript × 108
.net × 54
performance × 45
c++11 × 45
beginner × 44
repository × 42
mvc × 38
dependency-injection × 36
factory-method × 34
game × 33
entity-framework × 32
python-3.x × 31
unit-testing × 27
generics × 23
interface × 23
algorithm × 22
multithreading × 21
classes × 20