Maybe don't make complex Scripts?

Victor Saint had the right idea, wrong execution, right reaction. I liked his scripts, his ideas and he was the best thing for the scripting section of the community, I aspire to be like him (although I write more niche scripts then anything)
Its a known fact that the majority of script writers HATE victor for what he done to ace, and the severe incompatibilities that came from his work. If you truly aspire to be like victor - which isnt a good thing at all, you should always aspirte to be the best version of YOURSELF possible, not some other idiot - its quite likely that you are studying how he done things, which then makes it likely that your scripts are going to have the same level of incompatibility-ness that his work did.

Don't get me wrong, victor did so some very nice code, but in the RM community, nice code !== good script. And for the scope of RM, a 'good' script is one that is compatible with near enough every other system it could be paired with. Not just in terms of how the code was written, or the structure.

Also - its Victor Sant, not Saint.

Anyway, just my 2/100th's of a buck!
Ultimately, if you want to be able to create games with scripts that do exactly what you want (and especially that do ONLY what you want), you're going to have to either learn to code or privately commission someone to code for you. Using other people's code means you get their design goals and patterns, not yours.

Don't get me wrong, you can make a very good game without learning to code by using a lot of eventing and leaning on available plugins, but there will always be either features that you need or extra features you don't want simply because they are not you.

As for the scripts - some coders like to write monolithic engines, others modular libraries. Some like very small, piecemeal type scripts while others like to combine what they see as similar (or even not-similar) functions together. Some will want their plugins to be compatible with as many other scripts as possible while others will only worry about getting their code working robustly with itself and the base engine. There is no "right" or "wrong" or even "good" or "bad" in this so long as the code is secure, robust, and bug free (noting that projects of significant size rarely are 100% bug-free, but it's an ideal to strive for).
I hate the concept of several plugins. I would rather have one large well documented plugin that has explicit features and focuses on one area. The more scripts I have to install the more mad I get.
You can make complex scripts of course.  You have every right to hate several plugins, that's ok.

Tell you what, do you care about how hard it is for the coder to maintain, debug or enhance such a plugin?

No. It's not your problem. It's none of your buisiness. And you are absolutely right.

What matters for the coder though is that making complex plugins when you can make things more modular and more simple, is a bad practice.

Not just on plugins but on ANY software project that can be modular.

For someone that imports a plug-n-play plugin, in order to make a better game, an all in one might be convenient.

That is not convenient for the coder.

So see what happens here? You don't care for the coder and the coder does not care about your issue. Mostly because it can be easily solved despite you get annnoyed.

There is a solution of course. You can become the coder. Then make a huge plugin to import it everywhere. It's cool with me really I do not debate that. As long as your real needs will be satisfied in the long run, it's ok.

@Cvrtis

"Now is the time,  when the consumer adapts to the product. But you know that it's wrong, right?"

Yes. I also believe that this is wrong. But despite my beliefs, it's ok with me, as long as customer's needs are satisfied.

Now when it comes to code,  I focus on making quality code. Quality means code made under some principles. If such principles demand to make let's say 20 plugins for a system, that's what you get.

If that annoys someone it's not my problem, he/she can always go get another system. But if you want mine, you should do some more clicks. If you don't want to do such little effort why should I putmyself into trouble for you? No thanks. I'll pass. Oh, and to be honest, when it comes to paid jobs, I have every right to refuse a job with such demands. I actually refused one in the past.

@DarknessFalls you actually say you are a Javascript Developer. I just noticed that. So what is the beef here? I mean I am confused now.

Can't you just make what YOU want for YOURSELF in one plugin then?

As long as you like it and satifies your needs isn't that okay?

Edit:

I thought we were talking about scripts made to be use dby others actually.

Maybe the OP should clarify that. I don't know. The OP feels like talking about scripts that will be used by more than one developer. Just saying.
Tell you what, do you care about how hard it is for the coder to maintain, debug or enhance such a plugin?


What matters for the coder though is that making complex plugins when you can make things more modular and more simple, is a bad practice.


Not just on plugins but on ANY software project that can be modular.
That's up to individual coder how they want their projects organized. Maybe some people are better at maintaining and debugging if everything is in one place, and he would say that you're wrong for spreading out the code over many modules.
Can we please refrain from verbally attacking people? Doesn't matter whether they're here or not - we just don't do that here.


As a scripter, there are a number of people whose scripts I will not go near, because of the way they write their scripts. I'm not about to name them, because their scripts apparently do the job they're meant to do, and whether I like their scripting style or not, the important thing is that their scripts are useful to members of the community.


What has been put forth in this thread is a SUGGESTION to keep plugins simple, so people can use a number of plugins to get exactly what they want, without the bloat of everything they don't want. One function per plugin. I fully support this idea. It has nothing to do with the complexity of the plugin, it has nothing to do with documentation.


It is a SUGGESTION. Nobody has to DO it, and no scripter that I know of will LET other people tell them what, or how, to script. The moment you start putting restrictions on what's acceptable and what's not, is the moment you start losing scripters, and start getting fewer plugins. It is not going to happen.


I am going to close this now, because the whole thing is based on opinion/preference, and the only reason it's still going is because people are repeating themselves, and it's all going in circles.

Original thread: https://forums.rpgmakerweb.com/threads/maybe-dont-make-complex-scripts.43935/