Re: [Newbie Question] Magic Number's dangerous?
- From: Chris Smith <cdsmith@xxxxxxx>
- Date: Tue, 6 Dec 2005 19:52:19 -0700
Mike Schilling <mscottschilling@xxxxxxxxxxx> wrote:
> I misread Monique's comment as "And if you want to create the same-sized
> buffer in multiple places...", which is a good reason, even in Java.
And in that case (that is, if it really MATTERS that the two buffers be
the same size), there is also likely to be a good symbolic name that
expresses the significance of that number.
--
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
.
- References:
- Re: [Newbie Question] Magic Number's dangerous?
- From: Monique Y. Mudama
- Re: [Newbie Question] Magic Number's dangerous?
- From: Chris Smith
- Re: [Newbie Question] Magic Number's dangerous?
- From: Mike Schilling
- Re: [Newbie Question] Magic Number's dangerous?
- Prev by Date: Re: problem reading TCP packets on socket
- Next by Date: socket problem chat?
- Previous by thread: Re: [Newbie Question] Magic Number's dangerous?
- Next by thread: Re: [Newbie Question] Magic Number's dangerous?
- Index(es):
Relevant Pages
|