Re: 7.0 wishlist?
- From: Harold Yarmouth <hyarmouth991476@xxxxxxxxxxx>
- Date: Thu, 13 Nov 2008 17:17:51 -0500
Joshua Cranmer wrote:
Harold Yarmouth wrote:Joshua Cranmer wrote:((array[i++] << 8) & 0xff) | (array[i++] & 0xff)
That is side effects.
That is bit-twiddling, not matrix multiplication.
It is very much the same vein.
Hardly.
In fact, that is the kind of code I used to fire people for writing in C, before I decided that I preferred programming to managing programmers and went back to basics.
Well, its outcome is undefined in C since when i is incremented is unspecified.
Its outcome being well-defined in Java doesn't matter -- it's ugly, hard-to-parse code of the sort that gives maintenance programmers the heebie-jeebies.
.
- Follow-Ups:
- Re: 7.0 wishlist?
- From: Joshua Cranmer
- Re: 7.0 wishlist?
- References:
- Re: 7.0 wishlist?
- From: Harold Yarmouth
- Re: 7.0 wishlist?
- From: Joshua Cranmer
- Re: 7.0 wishlist?
- From: Harold Yarmouth
- Re: 7.0 wishlist?
- From: Joshua Cranmer
- Re: 7.0 wishlist?
- From: Harold Yarmouth
- Re: 7.0 wishlist?
- From: Joshua Cranmer
- Re: 7.0 wishlist?
- From: Harold Yarmouth
- Re: 7.0 wishlist?
- From: Joshua Cranmer
- Re: 7.0 wishlist?
- From: Harold Yarmouth
- Re: 7.0 wishlist?
- From: Joshua Cranmer
- Re: 7.0 wishlist?
- Prev by Date: Re: 7.0 wishlist?
- Next by Date: Re: 7.0 wishlist?
- Previous by thread: Re: 7.0 wishlist?
- Next by thread: Re: 7.0 wishlist?
- Index(es):