[gameprogrammer] Re: General Purpose Double Linked List Class
- From: Bob Pendleton <bob@xxxxxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Wed, 01 Mar 2006 14:42:04 -0600
On Wed, 2006-03-01 at 11:38 +1300, Jake Briggs wrote:
>
> Bob Pendleton wrote:
> > 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. :-)
> >
>
> True true, but I use scheme and java all day, and its kinda refreshing
> to get down and dirty once in a while.
Scheme is one of the all time great programming languages. And, I am
rather fond of java too.
> Not that writing a few lines of
> code to implement a linked list is in any way comparable to those crazy
> demosceners. I saw a video the other day of a guy using maybe a 386 to
> play full screen, full motion video in text mode with sound. I'll see if
> I can dredge up the link, it was on google video. Now that's getting
> back to basics just for the hell of it :)
Yeah... That is the kind of work that you do for three reasons. 1) It is
just so damned much fun. 2) You learn so much from doing it. 3) You get
all sort sorts of coolness points for pulling it off.
OTOH, doing that on a 386 in text mode under and OS like DOS isn't
*that* hard. :-)
Bob Pendleton
>
> >
> >
> >> 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
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