Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Zsh hangs sometimes?
- X-seq: zsh-users 12822
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Zsh hangs sometimes?
- Date: Sun, 04 May 2008 10:00:15 -0700
- In-reply-to: <200805041213.m44CDPVO003574@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <200805041213.m44CDPVO003574@xxxxxxxxxxxxxxxxxxx>
On May 4, 1:13pm, Peter Stephenson wrote:
}
} Can I suggest your professors were either very weird or (more likely)
} didn't do much real programming?
Emphasis on source maintainability rather than on ease of debugging.
} set of bits 0x09e1 (or whatever), to deduce that this includes (1<<11),
} (1<<8), (1<<7), (1<<6), (1<<5) and (1<<0)?
If it's a bitmask, you should be asking the debugger to print it in
binary rather than hex, so you can see the individual 100111100001.
In 0x09e1 you still have to compute that "e" is ... er ... gimme a
moment ... 8+4+2.
I think perhaps your programming of BlueTooth drivers has you thinking
more naturally in hex. It's quite true that my professors did little
if any device driver programming.
Actually given that this is C, some of my professors probably would
have advocated using a bitfield struct, so your earlier point is not
without merit. :-)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author