"Andrej Mitrovic" <andrej.mitrov...@gmail.com> wrote in message news:mailman.3303.1302360951.4748.digitalmar...@puremagic.com... > On 4/9/11, spir <denis.s...@gmail.com> wrote: >> I prefere structs to tuples /everywhere/. They have 2 big advantages: >> * explicite: color.red versus color[0] > > But Tuples _are_ structs. And you _can_ use explicit names: > > http://codepad.org/0ZWAtcL1
struct gives you more control over internal mechanics, which is important for something as low-level as a representation of a pixel.