RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Switch List named

Vorspire

Knight
Really?
A. Sums up to, don't use the code I presented, you'll have to do something else entirely to handle perimeters. Vs litterly name changing if you used the new keyword.
B. Is an excuse, "well my code didn't need it so nyrh", hardy a point and not even one I mentioned.
C. Is you going "oh hey yeah, you should static/const it like you said." Yeah I know I said that. Nice recovery thinking the OP knew to fix your example.
D. Is the worst part. case 0: item = new X( y, z ); break; is worst then, well what? Really, exactly how did you plan to handle those arguments? I bet with is with a second array, now you have two collections initializing and you have to scroll back and forth to read the code. And you want to talk readability to me?

See, if you posted something like "would you not undermine me here?" I could have respected that. But trying to come off like your way is better? It's even documented that activator takes a few cycles more to use than new. Not only are you trying to come off saying use this less effective way, which is totally not as readable, but you have the arrogance to completely overlook that the people designing the very language your debating on wrote a keyword to handle things rather than using the Activator like that all the time.

If anything, you did get me to ignore your next post. you have that good sir.

A) You're a lazy dev, that's obvious and I'm not talking about perimeters, a perimeter is a line of length that forms the boundary of a given geometric structure... Just because a keyword exists, doesn't mean you should use it. One of the biggest flaws in older OOP was the messy use of goto clauses, go look it up, it's a miracle that .NET even has a goto instruction.
B) There are no excuses for your poor design choices, but by all means, continue. -I have a proven track record for giving help and advice in an informative and relational context that is factual and, wherever I don't fully know what I'm talking about, I will state so, but you have the Mr. Know-It-All mentality.
C) I didn't say you *should*, but I'm not going to write an example with 200 lines of code, just because you don't understand the context of minimization. I didn't say you were right, I said that it's blindingly obvious to a smart developer, but no matter, the example is still flawless, besides the fact that, for some reason, you think a loaf of bread is a vegetable (IE, you think it will break because an asserted list of Types that are known to have 0-argument constructors *may*, for some reason, have extra arguments - which is logical absurdity)
D) You do realise that for every object reference and assignment you make, it uses memory? I'm sorry if my clean code can't be understood by you, because you can't keep track of an endless amount of named variables. Those extra arguments don't even exist, so why would I plan to compensate for them? -Talk about going OTT with protection out of paranoia.

*) Readability, again, because I keep named variables to a minimum, must be really hard for you to comprehend if you're complaining about it, besides, who are you to judge readability when every person has their own unique writing style? I have mine, you have yours, you don't see me ragging on your programming style (yet). Also, I don't see where you've actually contributed any actual examples to this thread, you're just talking about concepts and throwing out buzz-words whenever possible.

*) As for your respect, don't make me laugh, why would I care if you respect me? You do nothing for me, you haven't released anything that I would consider useful (to me), so tell me, why should I respect you? - Here's one reason; I know you're a contributor to this community, but that's about it, your attitude is as poignant as your lack of correct grammar and spelling (your avatar admits that clearly, so I'm not just having a random dig).

*) My way is not necessarily better and I didn't say it was, I said I would prefer to handle it that way, but both sets of code achieve exactly the same thing within a nano-second of each other, so you're making something out of nothing. I don't get where you come off saying my way is less effective, but I'll give you a few years to come up with an explanation, because you haven't provided one yet.

*) There are plenty of reasons why the Activator is better than the "new" keyword, one being that the constraints placed upon the "new" keyword are that you must provide a constant, hard-coded, constructable type reference, obviously you're stuck in a box, because you'll realise that the key to developing a major system relies on dynamics - the ability to manipulate the data without the need for over-extensive editing, to provide an API that can be logically extended without the need to modify the original code, a concept most likely unheard of to you.

*) Sorry, I'm still laughing at the respect part.

*) I'm still laughing at your entire post and lack of factual information to back up your ludicrous and absurd claims.

*) Looks like you're the one with the arrogance problem, I actually take the time to learn the language, to the point where I can achieve what I want without sticking to "the basics" of programming.

*) Just to prove a FURTHER point about your knowledge, here's an extract from your OmniAI package:
Code:
  private static int[] m_RandomLocations = new int[] { -1, -1, -1, 0, -1, 1, 0, -1, 0, 1, 1, -1, 1, 0, 1, 1, -2, -2, -2, -1, -2, 0, -2, 1, -2, 2, -1, -2, -1, 2, 0, -2, 0, 2, 1, -2, 1, 2, 2, -2, 2, -1, 2, 0, 2, 1, 2, 2 };

The perfect example of "you have no clue about the language you're using" - why would you need to instantiate an array of integers in this manner, for that purpose? This is just absurd. Seriously, you judge me for instantiating a single array in a tiny little example in a thread, when your official system release does it with the most useless of intentions?
Also, another note on readability, it's obvious you're insecure in your development because you quadruple-line-break absolutely everything, you want to fight over coding styles? Fine, I could tear your entire system down, line by line and tell you why each part of it is wrong or how it sucks, simply because it's styled differently to my own choice, or you used a different technique to achieve the same thing.

*) Your attitude reeks of Orb, go back there or pull that giant stick out of your ass if you're going to stay here.

*) Stop trying to fill Jeff's boots, you'll never make it, he actually knew what he was talking about.

Just to clarify;
I'm not high and mighty, I don't think I'm better than you (or anyone), but what I do know is that I've contributed 10 times more to *this* community than you can shake your single system and tweaks thread at and have more experience in general programming than you have in your little finger and that's a fact, not an egotistical statement. -If you think for one moment that I'm stuck in the UO box, then you're sadly mistaken, I've written fully fledged windows applications and adhere to a strict guideline standard during code development, it's a must when you get PAID FOR IT.

Now get off my back with your worthless, demeaning and facetious remarks - and I'll do the same.
 

Vorspire

Knight
@A:
I am not a smart developer :)

Maybe not now, but some day, with the right guidance, you will join the ranks of the more experienced members of this community. Judging by your track record, you're learning fast and it won't take too long, I would consider that "smart", so you're only going to go up from here :)

Just be careful of the advice you get, consider the source if you doubt it.
 

Peoharen

Sorceror
A) You're a lazy dev, that's obvious and I'm not talking about perimeters, a perimeter is a line of length that forms the boundary of a given
*) Just to prove a FURTHER point about your knowledge, here's an extract from your OmniAI package:
Code:
  private static int[] m_RandomLocations = new int[] { -1, -1, -1, 0, -1, 1, 0, -1, 0, 1, 1, -1, 1, 0, 1, 1, -2, -2, -2, -1, -2, 0, -2, 1, -2, 2, -1, -2, -1, 2, 0, -2, 0, 2, 1, -2, 1, 2, 2, -2, 2, -1, 2, 0, 2, 1, 2, 2 };
Oh you are good at baiting.

I wrote most of my Omni AI when SE came out, even the "new" Bard AI I slide into it is copy paste of the Ability Package I released on here (also years ago). According to UOGuide that was almost seven years ago. And where do you think I that design from anyway?
Code:
        private static int[] m_Offsets = new int[]            {                -1, -1,                -1,  0,                -1,  1,                  0, -1,                  0,  1,                  1, -1,                  1,  0,                  1,  1,                  -2, -2,                -2, -1,                -2,  0,                -2,  1,                -2,  2,                -1, -2,                -1,  2,                  0, -2,                  0,  2,                  1, -2,                  1,  2,                  2, -2,                  2, -1,                  2,  0,                  2,  1,                  2,  2            };
Source: RunUO SVN, version 783

You know, Orb could use you. Remember that SA project I started up two years ago and that huge fiasco from Wyatt where I admitted this was my hobby and I've never taken a class on it and had to seek consul from David to get things working? Yeah, I bet that code could use some revisioning and optimization and you're apparently willing to download and review code. Just submit a patch over there with your fixes and I'm sure Marlando/Mitty will get it added. It would be nice to have a real professional having a hand in things.

Edit - Thanks for the idea of hand to deal with Vor and my Sig is changed.
 

Pure Insanity

Sorceror
You know, Orb could use you. Remember that SA project I started up two years ago and that huge fiasco from Wyatt where I admitted this was my hobby and I've never taken a class on it and had to seek consul from David to get things working? Yeah, I bet that code could use some revisioning and optimization and you're apparently willing to download and review code. Just submit a patch over there with your fixes and I'm sure Marlando/Mitty will get it added. It would be nice to have a real professional having a hand in things.

Ha, I don't think Vorspire has messed with anything OSI related in a while. Doubt he'd ever bother spending time trying to make an OSI clone. Personally, I can't blame him. OSI is just so damn boring these days. Seems Vorspire enjoys making stuff that's never been seen before, and I seriously can't blame him there...how else would OSI get ideas to make their new shit? =P
 

Vorspire

Knight
Oh you are good at baiting.

I wrote most of my Omni AI when SE came out, even the "new" Bard AI I slide into it is copy paste of the Ability Package I released on here (also years ago). According to UOGuide that was almost seven years ago. And where do you think I that design from anyway?
Code:
        private static int[] m_Offsets = new int[]            {                -1, -1,                -1,  0,                -1,  1,                  0, -1,                  0,  1,                  1, -1,                  1,  0,                  1,  1,                  -2, -2,                -2, -1,                -2,  0,                -2,  1,                -2,  2,                -1, -2,                -1,  2,                  0, -2,                  0,  2,                  1, -2,                  1,  2,                  2, -2,                  2, -1,                  2,  0,                  2,  1,                  2,  2            };
Source: RunUO SVN, version 783

You know, Orb could use you. Remember that SA project I started up two years ago and that huge fiasco from Wyatt where I admitted this was my hobby and I've never taken a class on it and had to seek consul from David to get things working? Yeah, I bet that code could use some revisioning and optimization and you're apparently willing to download and review code. Just submit a patch over there with your fixes and I'm sure Marlando/Mitty will get it added. It would be nice to have a real professional having a hand in things.

I guess can't blame you directly for that code then, but it comes as no surprise, RunUO itself is full of crappy code, I won't lie for the sake of argument.
This is also why I'm against copy-paste programming.
The problem is that, RunUO gives the image of professionalism, but when you dig deeper, there are still a lot of flaws and sloppy designs - My point is that people under the false impression then learn by example and end up writing crappy code too, under the assumption that it must be good because the RunUO Team did it, which isn't the case.
Don't get me wrong, RunUO is an amazing feat of programming ingenuity, I for sure would not have been able to produce it alone, I'm not well versed in client-server communications, the networking aspect would have lost me entirely 1 or 2 years ago.
So to avoid being hypocritical here, I'm going to say, I learned by example with RunUO, the major difference that sets myself aside from those pertaining to the statement above, is the fact I had a mentor who pretty much knew everything about .NET, he helped me jump out of the RunUO box and into the local environment, which enabled me to learn the best standards for application programming, the first application I ever wrote outside of RunUO was a fully fledged IRC bot with a GUI, that was about 6 years ago, which I later compiled as an extension to my RunUO shard - My mentor at the time provided me with a custom IRC Client DLL from which I based all of the work. -He's also the one responsible for the Extended Localizer - Dominik Seifert, who is now a project leader in the World of Warcraft emulator WCell.

Ha, I don't think Vorspire has messed with anything OSI related in a while. Doubt he'd ever bother spending time trying to make an OSI clone. Personally, I can't blame him. OSI is just so damn boring these days. Seems Vorspire enjoys making stuff that's never been seen before, and I seriously can't blame him there...how else would OSI get ideas to make their new shit? =P

Exactly :)
It's really like, do I take the blue pill, or the red pill? One or the other, but I can't do both and Orb has never really offered anything to attract my attention TBH.
That doesn't mean Orb doesn't have good things to offer, but I have a strict self-policy of, 'my own code or no code', with the exception of CRIAB - Which I'm going to replace soon anyway.
It just so happens I found this community before Orb, but my first assumption is that, had I of chosen Orb over RunUO, I would not be as experienced as I am today.
 
Top