Skip to main content

All Questions

4 votes
1 answer
411 views

Abstract base class for binary serialization

Ensuring that some logic is always being run before the user's overriding methods. I'm writing a library and I have some abstract classes that can be binary serialized (and users can subclass them and ...
Saturn's user avatar
  • 409
2 votes
3 answers
309 views

Builiding a Model from Stored Procedures

After reading that Data Classes can be considered a code smell, I am shifting from a pattern with many data classes and a single manager class that handles all the instantiation of the classes, to a ...
user avatar
-2 votes
2 answers
92 views

Multiple inheritance of class broken up into modules [closed]

I have a class Main that uses fn(cls, ...) methods from several modules; they're used exclusively by ...
OverLordGoldDragon's user avatar
-1 votes
1 answer
113 views

Class Inheritance in C# (possibly generics) [closed]

I'm working on a segment of code where it runs a number of tasks and then combine individual task results to construct a complete task result object, there's no concurrency involved so it's purely a ...
Godsent's user avatar
  • 109
0 votes
4 answers
223 views

Multilingual command handler using inheritance

My problem is that you have a lot of ifconditions to be checked and inside that if condition you have multiple lines of code. I ...
Akila Hettiarachchi's user avatar
3 votes
0 answers
171 views

Implement.js JavaScript module pattern

I have been playing with a new JavaScript module pattern to see what I can come up with. I think it's quite powerful and wanted to know if it is something people would find useful? I'm looking for ...
Matthew.Lothian's user avatar
-1 votes
1 answer
139 views

Should I use inheritance in my case? [closed]

I have 2 classes that should run a service when calling their Start method, but before it they should: Copy items to F folder Open S service in remote server if it'...
theateist's user avatar
  • 263