View previous topic - View next topic |
Author |
Message |
tcaudilllg Dragonmaster
Joined: 20 Jun 2002 Posts: 1731 Location: Cedar Bluff, VA
|
Posted: Wed Oct 12, 2005 12:41 am Post subject: |
[quote] |
|
C's native standard string library is HORRID. Ancient. Outdated.
C doesn't have all of the nifty extras of C++, right? And we're making this version, at least, for C.
String libraries, anyone?
|
|
Back to top |
|
|
RuneLancer Mage
Joined: 17 Jun 2005 Posts: 441
|
Posted: Wed Oct 12, 2005 12:58 am Post subject: |
[quote] |
|
Allow me to wonder out loud why you're even doing this in C when it's been stated, directly in response to one of your posts in fact, in another thread that C++ is a far better solution nowadays.
Just... y'know, putting it out there... Not that your monumental ego would allow for anyone to tell you "lol you made a wrong decision" and to reply "yeah, lol, I did, gonna change that..."
Edit: For that matter, who's "we"? You got ditched by DevX and I don't really see anyone too eager to help you out here. _________________ Endless Saga
An OpenGL RPG in the making. Now with new hosting!
Last edited by RuneLancer on Wed Oct 12, 2005 1:07 am; edited 1 time in total
|
|
Back to top |
|
|
Nodtveidt Demon Hunter
Joined: 11 Nov 2002 Posts: 786 Location: Camuy, PR
|
Posted: Wed Oct 12, 2005 1:00 am Post subject: |
[quote] |
|
LordGalbalan wrote: | First of all, that was hardly an insult. Just not a compliment. |
If I really wanted to insult you at that point in time, believe me...I would have. Just ask virtually anyone here who knows my history of flaming people to ashes. :D _________________ If you play a Microsoft CD backwards you can hear demonic voices. The scary part is that if you play it forwards it installs Windows. - wallace
|
|
Back to top |
|
|
DeveloperX 202192397
Joined: 04 May 2003 Posts: 1626 Location: Decatur, IL, USA
|
|
Back to top |
|
|
DeveloperX 202192397
Joined: 04 May 2003 Posts: 1626 Location: Decatur, IL, USA
|
Posted: Wed Oct 12, 2005 2:01 am Post subject: |
[quote] |
|
I don't know what the shit you're talking about Tony.
Me..The Devil? Ahahahahahaha.
You're Fucking hilarious.
I am a Roman Catholic.
I goto Mass on Sundays, and I pray nightly with my fiance.
Oh, and stop sending me messages via PM.
I AM NOT WORKING ON WORLDYNE ANYMORE. PERIOD.
Worldyne is nolonger. I have better things to do in my life.
I now have the time to work on my GBA development more than ever, so thats one thing that I will be doing.
Other things include teaching my friend; Thomas, how to program.
So, go your own way now, and leave me alone.
Nothing you can say is going to fix this friendship. You fucked up big. And you continue to act like nothing happened.
"Whatever...sorry" is NOT an apology. You OBVIOUSLY were NEVER my friend, only USING me to accomplish YOUR goal.
So, FUCK YOU. _________________ Principal Software Architect
Rambling Indie Games, LLC
See my professional portfolio
|
|
Back to top |
|
|
Mark_Y Tenshi's Bitch (Peach says "Suck it!")
Joined: 18 Aug 2005 Posts: 62
|
Posted: Wed Oct 12, 2005 2:03 am Post subject: |
[quote] |
|
[POST DELETED, SEE END OF THREAD]
Last edited by Mark_Y on Wed Oct 12, 2005 5:30 am; edited 1 time in total
|
|
Back to top |
|
|
RuneLancer Mage
Joined: 17 Jun 2005 Posts: 441
|
Posted: Wed Oct 12, 2005 2:13 am Post subject: |
[quote] |
|
Mark_Y wrote: | And apparently 24 years old. That's depressing. |
Woah. He's that old and he sends me childish "You are now my enemy" PMs?
ROFL!!!
Ok, forget it. Lost cause. I'm not touching this one any longer. It's like some kind of Napoleon Dynamite, only IRL. _________________ Endless Saga
An OpenGL RPG in the making. Now with new hosting!
|
|
Back to top |
|
|
Mark_Y Tenshi's Bitch (Peach says "Suck it!")
Joined: 18 Aug 2005 Posts: 62
|
Posted: Wed Oct 12, 2005 5:50 am Post subject: |
[quote] |
|
So I reflected a bit about DevX and LG and came to the following conclusions. They are apparently adults. They either engage in extremely convoluted charades to annoy the rest of us, or they really are the way they seem to be.
If they are simply clowns or trolls, it's not worth engaging in ugly ridicule to tear them down, since such ugliness is simply the sort of reaction they mean to draw.
If they are not trolls, the question is how to respond to their behavior. At their ages, they're past the point of being talked down to, and past the point where they can learn life's lessons by being lectured. To the extent they'll ever grow into something better, it will be by dint of experience and observation, not because we tell them -- however forcefully, eloquently, truthfully, or snarkily -- the way they should behave. My feelings on both their characters have been well aired (although now removed); evidently, I think they have a lot of growing up, even if they've passed the point where they should already be acting like men, not moronic high schoolers.
In any event, trying to make them miserable about the few things that give them pleasures -- as delusional as these things may be -- seems like a rather unlikely way to help them grow up. Assuming that DevX's extreme improbable stories are true, I suppose he deserves pity, not scorn. And if they are false, he hardly needs me to tell him so. Liars know the truth. LG's claims are a bit more complicated, since they aren't fact statements that he knows to be false (if they are), but rather opinions that cannot be easily disproven (no matter how much we try). But reading his diary entries convinced me that no matter how much he blusters here, LG is well aware of his own limitations. Whether he works to overcome them, or panders to them in an ever tightening gyre, is something he's going to have to figure out on his own.
Most of all, it struck me that back when I was in high school, the Internet provided an outlet for a lot of things, including the possibility of dreaming big, foolishly big, and talking like I could actually realize those dreams. LG and DevX may be older, but it's pretty obvious the Net plays that same role for them. I don't think RPGDX has to be a host to them, but my project of trying to crush those dreams seems, upon reflection, somewhat misguided.
So. Take this as an armistice, if not an apology: I'm going to bite my tongue (my fingers?) and not post any more on this subject, no matter how tempting it may be.
|
|
Back to top |
|
|
janus Mage
Joined: 29 Jun 2002 Posts: 464 Location: Issaquah, WA
|
Posted: Wed Oct 12, 2005 5:57 am Post subject: |
[quote] |
|
I'm starting to wonder if RPGDX's apparent no-bans-ever policy is a good one.
|
|
Back to top |
|
|
DrunkenCoder Demon Hunter
Joined: 29 May 2002 Posts: 559
|
Posted: Wed Oct 12, 2005 6:21 am Post subject: |
[quote] |
|
[quote="LordGalbalan"]Here's the progress so far. Yes, it's completely open to critique. C is not my native language.
[/code]
That's probably some of the most moronic pseudo-c I've seen in a long time. strlen and strcat are in the standard use them.
* learn what "const" mean"
* man malloc/free
Other than that your development strategy is totally backwards from what is considred bestpractice and for larger systems will only lead to headaches.
My advice:
Switch to C++ and use std::string. _________________ If there's life after death there is no death, if there's no death we never live. | ENTP
|
|
Back to top |
|
|
LeoDraco Demon Hunter
Joined: 24 Jun 2003 Posts: 584 Location: Riverside, South Cali
|
Posted: Wed Oct 12, 2005 6:33 am Post subject: |
[quote] |
|
Any misanthropy on my part guided towards Galbalan is, obviously, a bit out of line, as well as, perhaps, out of the spirit of the community. While I will not deny any, er, disparaging comments directed at Galbalan, I mostly just suggest alternatives to what appears to be ignorance of good programming practices.
I don't want to beat a dead horse any more than anyone else; however saying, something must be said about that string implementation.
As I have stated in the past, Galbalan, perhaps the most applicable domain for OOPLs is that belonging to types; strings are types, and, as such, are perfectly implementable in an OOPL. C++ has, at the very least, two different string implementations available with most compilers that implement the STL: basic_strings and ropes. While, as the information for the basic_string will tell, the complexity of a compiler's implemenation is not guaranteed; however, they will, more than likely, be more efficient --- both in space and in time --- than what you have thrown together. I think you should seriously consider, if you really want to go ahead with this project, changing the language of your port, and, again, to consider using items from the STL.
In any event, as a simple search on google will show, it is very easy to find references to different C string libraries. For instance, a comparison page about a set of libraries, some of which are for regular C. Perhaps you should try researching in the future? _________________ "...LeoDraco is a pompus git..." -- Mandrake
|
|
Back to top |
|
|
janus Mage
Joined: 29 Jun 2002 Posts: 464 Location: Issaquah, WA
|
Posted: Wed Oct 12, 2005 11:11 am Post subject: |
[quote] |
|
I'd also like to point out that the primary reason the C string library 'sucks' is that it's written in/for C, not because it's old. Your code isn't any better (it's undoubtedly worse, in fact.)
For example, your concat() calls lengthOf twice on each string. That's pretty dumb. Additionally, your join() uses a fixed length array and never checks to see if it's overrun the length of the array. What is this, 1983?
Also, considering that C doesn't have namespaces or anything, using generic names like 'join' and 'concat' for STRING-ONLY functions is pretty retarded. We're talking 'Hi, I'm Visual Basic and names like Line are reserved keywords!' retarded here.
Also, not checking pointers before performing copies and pointer accesses is also pretty retarded. The C stdlib gets away with it because it's traditional and 'faster', but if you're writing modern code, you really should at least be assert()ing for bad pointers, if not erroring out/failing entirely.
And finally, ever heard of a naming scheme? Maybe you should try it out. It makes your code less ugly.
|
|
Back to top |
|
|
Rainer Deyke Demon Hunter
Joined: 05 Jun 2002 Posts: 672
|
Posted: Wed Oct 12, 2005 7:10 pm Post subject: |
[quote] |
|
janus wrote: | I'd also like to point out that the primary reason the C string library 'sucks' is that it's written in/for C, not because it's old. Your code isn't any better (it's undoubtedly worse, in fact.) |
I wouldn't say that. C's string library "sucks" because it was designed for a certain minimalistic string representation that is optimized for small data size above all else and refuses to use dynamic memory allocation. There's no reason why you couldn't port your favorite OO string type to C, you'd just have to access it with C function call syntax and you'd have to manually check for failure whenever a string function allocates memory.
|
|
Back to top |
|
|
tcaudilllg Dragonmaster
Joined: 20 Jun 2002 Posts: 1731 Location: Cedar Bluff, VA
|
Posted: Wed Oct 12, 2005 11:36 pm Post subject: |
[quote] |
|
nodtveidt wrote: | LordGalbalan wrote: | First of all, that was hardly an insult. Just not a compliment. |
If I really wanted to insult you at that point in time, believe me...I would have. Just ask virtually anyone here who knows my history of flaming people to ashes. :D |
Yeah well you couldn't.
|
|
Back to top |
|
|
Nodtveidt Demon Hunter
Joined: 11 Nov 2002 Posts: 786 Location: Camuy, PR
|
Posted: Thu Oct 13, 2005 12:56 am Post subject: |
[quote] |
|
LordGalbalan wrote: | nodtveidt wrote: | LordGalbalan wrote: | First of all, that was hardly an insult. Just not a compliment. |
If I really wanted to insult you at that point in time, believe me...I would have. Just ask virtually anyone here who knows my history of flaming people to ashes. :D |
Yeah well you couldn't. |
Sure I could. I just didn't feel like it at the time, and I still don't. Sorry kid, but I'm not going to appease your "I am right you are wrong nanana" mind games by flying off the handle and laying you to waste with a string of insults that would even make a Satanist cry. One asshole is enough: you. I don't need to rip you another. _________________ If you play a Microsoft CD backwards you can hear demonic voices. The scary part is that if you play it forwards it installs Windows. - wallace
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|