Hello,
May I know what are the recommendations of the elders of b4x for the maximum number of parameters of "initialize" of an object? In Java, some recommend that it should not be more than 5 or 6 parameters to initialize an object. They say, beyond that number, it is no longer convenient. I asked because recently I created a project and one of the object has 11 parameters to initialize and it seems crowded already. Am I still doing it right? I see some programmers here who do the same thing, but I don't know if they are doing it for demo only or for discussion.
Thanks!
May I know what are the recommendations of the elders of b4x for the maximum number of parameters of "initialize" of an object? In Java, some recommend that it should not be more than 5 or 6 parameters to initialize an object. They say, beyond that number, it is no longer convenient. I asked because recently I created a project and one of the object has 11 parameters to initialize and it seems crowded already. Am I still doing it right? I see some programmers here who do the same thing, but I don't know if they are doing it for demo only or for discussion.
Thanks!