[gameprogrammer] Re: General Purpose Double Linked List Class
- From: Bob Pendleton <bob@xxxxxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Tue, 28 Feb 2006 15:56:54 -0600
On Wed, 2006-03-01 at 09:39 +1300, Jake Briggs wrote:
> Well it may be an interesting exercise to implement this by hand. I
> mean, I have done it a few times in order to polish my pointers (I don't
> code in c for a job, and haven't done any c since uni), and it can be
> frustratingly fun :)
ROFL! I was a programmer before C was well known and long before C++ was
invented. I have had to code different kinds of linked lists using
pointers many many times. As a result I look at the STL as a wonderful
thing that keeps me from having to waste my life hacking yet another
version of a linked list. (And Boost, don't forget Boost) Doing it a
couple of times to learn is great. Doing it many times because there is
no choice, well you gotta do what you gotta do. Doing it when you don't
need to? That feels a lot like watching American Idol. I did it for 15
minutes once, turned of the TV and said "Well there is 15 minutes of my
life that I will never get back..." :-)
Bob Pendleton
P.S.
If you are an American Idol fan, then please don't flame me. Different
people have different tastes. :-)
>
> Jake
>
> Bob Pendleton wrote:
> > On Sun, 2006-02-26 at 20:19 +0100, Torsten Giebl wrote:
> >
> >> Hello !
> >>
> >>
> >> Thanks for your answer. I do not want to
> >> use STL generally in my game, i just wanted
> >> to throw something in to get a doubly linked list :-)
> >>
> >
> > Why don't you want to use the STL? There is no particular overhead
> > caused by using it. And it makes writing code so much easier. Consider
> > how much time you spent developing a doubly linked list class versus the
> > time it would have taken to just use the STL.
> >
> > I really do not understand why you wouldn't just use the STL?
> >
> > Bob Pendleton
> >
> >
> >> But is the way i tried to use STL correct ?
> >> Okay, it is not the best programming style.
> >>
> >>
> >>
> >> CU
> >>
> >>
> >>
> >> ---------------------
> >> To unsubscribe go to http://gameprogrammer.com/mailinglist.html
> >>
> >>
> >>
> >>
>
--
+--------------------------------------+
+ Bob Pendleton: writer and programmer +
+ email: Bob@xxxxxxxxxxxxx +
+ web: www.GameProgrammer.com +
+ www.Wise2Food.com +
+ nutrient info on 7,000+ common foods +
+--------------------------------------+
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- Follow-Ups:
- [gameprogrammer] Re: General Purpose Double Linked List Class
- From: Jake Briggs
- References:
- [gameprogrammer] General Purpose Double Linked List Class
- From: Torsten Giebl
- [gameprogrammer] Re: General Purpose Double Linked List Class
- From: Tom Wilson
- [gameprogrammer] Re: General Purpose Double Linked List Class
- From: Torsten Giebl
- [gameprogrammer] Re: General Purpose Double Linked List Class
- From: Bob Pendleton
- [gameprogrammer] Re: General Purpose Double Linked List Class
- From: Jake Briggs
Other related posts:
- » [gameprogrammer] General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- » [gameprogrammer] Re: General Purpose Double Linked List Class
- [gameprogrammer] Re: General Purpose Double Linked List Class
- From: Jake Briggs
- [gameprogrammer] General Purpose Double Linked List Class
- From: Torsten Giebl
- [gameprogrammer] Re: General Purpose Double Linked List Class
- From: Tom Wilson
- [gameprogrammer] Re: General Purpose Double Linked List Class
- From: Torsten Giebl
- [gameprogrammer] Re: General Purpose Double Linked List Class
- From: Bob Pendleton
- [gameprogrammer] Re: General Purpose Double Linked List Class
- From: Jake Briggs