JesterxMailMan89 wrote:Sorry to drag you back in, but the same modder from before has just posted a ton of code saying it fully represents the harness without base class edits. I wouldn't ask for you to look at it if I understood it at all, but I thought it was a pretty big statement.
It doesn't matter man. They're arguing from the point that I shouldn't make base-class edits, I code from the standpoint that if making a base-class edit is a quicker or more effective way to get something done, I'll do it.
I've written the code for myself and for myself alone to make use of an maintain, NOT for compatibility with other mods, so of course, someone who codes with compatibility as a priority will do things differently in many cases. It is only recently that I've begun to make changes to the code base here and there for add-on authors to have an easier time of it, and that's an ongoing process.
Also, the point about an AI-base class edit for dung not being necessary may very well be correct. I've been modifying that class since well before the AI system for Mojang came into effect, and I generally don't go back and revise such code *unless I think the time it will take me to refactor my code is less that the time it will save me in the future for ongoing maintenance*.
I'm a practical guy when it comes to code. I don't go back and rewrite things just to make them pretty or to do them in some theoretically proper way. If it isn't structured properly in certain places, the only person I am hurting is myself, because I am the only one that is supposed to be dealing with the code (exceptions for the add-on thing mentioned above).
In academic terms, that means I practice "rapid development" where I only write or revise code when it is necessitated by the end result, whereas many of the people, like Lex, that criticize my coding are coming at it from the standpoint of academic wankery as to what is the "correct" approach to get things done.
The end result is that I've been developing and maintaining a rather massive and relatively bug-free code-base for a year and a half now, without once having to go back and rewrite it in the way most major mods are done.
So yeah man, they can take any criticism of the code base and anally insert it. I've been a professional game developer for long enough that my ego is not at all tied up in people trying to nit-pick about my coding practices.
As for the thread in question: such discussion is irrelevant to the topic at hand.