python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Defining a class with or without the .prototype
In the absence of using the class keyword, what is the difference between the following two ways to construct an inherited object? In the first one I'm attaching things on the .prototype and in the se...
David542
Votes: 0
Answers: 1
Java static factory for classes that implement interface with generic method parameter
I have the following static factory implementation:
public class HandlersFactory {
private static Map<ProviderType, Handler<? extends Request>> handlers;
public static Handler<? extend...
Itai Soudry
Votes: 0
Answers: 1
Is there a better way to achieve multiple connection to database in Symfony 6?
I'm having some trouble trying to achieve multiple connection to database in some clean way.
Keep in mind that this is my first symfony project ever, and i'm only a young developer.
In my project, the...
Corentin Durey
Votes: 0
Answers: 0
Factory using CDI returning capture of type instead of concrete type
I want to create a processor factory that uses CDI to get all available processors. The factory should select the desired processor based on some parameter. So I have my parameter:
public abstract cla...
Martin
Votes: 0
Answers: 1