Re: Hooks

Mat Noguchi <[email protected]>
Newsgroups gmane.games.devel.sweng
Message-ID <D7F4D9E414140644BF099886C28C6636299D42B79C@bngexchange01.bungie.bng.local>
Notice how I didn't say "exposing variables good". I said " So you really have to insulate yourself against clients but open yourself for higher powers."

And this isn't a hand wavy thing that might payoff later, it's a disciplined approach to programming that pays off for me right now. It has paid off in the past by reducing the surface area of various APIs I've had to provide for game systems, enabling me to perform otherwise impossible optimizations because I could rely on knowing exactly how everyone uses my APIs.

This isn't an a-priori armchair architect rambling. This is me saying how a disciplined approach actually makes my life easier.

MSN
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Brandon Van Every
Sent: Tuesday, June 08, 2010 2:31 PM
To: [email protected]
Subject: Re: [Sweng-Gamedev] Hooks

On Tue, Jun 8, 2010 at 5:18 PM, Mat Noguchi <[email protected]> wrote:
> Brandon, I'm not really sure why you are reacting so strongly to what Richard said about insulation being obnoxious,

because I don't believe you can solve everybody's future problems, or
should.  This thread is mostly framing a non-goal.

> or to the idea in general of trying to improve your skills with respect to long-term programming.

An a-priori regimen for writing code, handed off to someone else years
later, without any kind of testing or benchmarking of the efficacy of
the regimen, is merely a religion.  You can say, "hiding variables
Bad, exposing variables Good" all you want.  How are you going to
prove that it saves labor many years down the line?  I guess as
programmers on a mailing list we usually rely on anecdotes, since
we're not omniscient enough to observe a large enough sample of
projects, or all the factors affecting a project.  I am saying,
concentrate on the Big Picture issues, and don't sweat the little
things.  You can't prevent people being treated like a code monkey
sometime in the future.


Cheers,
Brandon Van Every
_______________________________________________
Sweng-Gamedev mailing list
[email protected]
http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com
_______________________________________________
Sweng-Gamedev mailing list
[email protected]
http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.