[H-GEN] Which is better?
Greg Black
gjb at gbch.net
Sat Apr 24 04:46:48 EDT 2004
On 2004-04-24, Harry Phillips wrote:
> A bit of background: I started Uni this year and am doing COMP1500, it's a
> course teaching Object oriented programing using Java.
Eeek.
> I have a question about coding technique. I will give two examples and
> would like to know if anyone knows which is more effcient or if they are
> the same.
The real question here is: why do you care?
At this stage of your programming life, your only real goal is to get it
right. Only then, should it happen to be too slow, you will learn how to
profile it to locate the bottlenecks. And then, maybe, you'll care.
Cheers, Greg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 249 bytes
Desc: not available
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20040424/4da13794/attachment.sig>
More information about the General
mailing list