Why D is annoying =P

H. S. Teoh hsteoh at quickfur.ath.cx
Wed Oct 24 21:41:33 PDT 2012


On Thu, Oct 25, 2012 at 06:21:02AM +0200, Mehrdad wrote:
> Haha thanks a bunch for the advice. :) I was actually intending it
> to be a quick hack, not a highly-generalized thing.
> 
> So I thought, hey, I'll just use a
> Tuple!(string, q{symbol}, size_t, q{iRule}, size_t, q{iSymbol})
> to denote an "LR Item".
[...]

Hmm, why are you using Tuple? Shouldn't you be using a struct?


T

-- 
People tell me I'm stubborn, but I refuse to accept it!


More information about the Digitalmars-d mailing list