Regarding hex strings

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Sat Oct 20 13:39:28 PDT 2012


On Sat, 20 Oct 2012 14:59:27 +0200
"foobar" <foo at bar.com> wrote:
> On Saturday, 20 October 2012 at 10:51:25 UTC, Denis Shelomovskij 
> wrote:
> >
> > Maybe. Just an example of a real world code:
> >
> > Arrays:
> > https://github.com/D-Programming-Language/druntime/blob/fc45de1d089a1025df60ee2eea66ba27ee0bd99c/src/core/sys/windows/dll.d#L110
> >
> > vs
> >
> > Hex strings:
> > https://github.com/denis-sh/hooking/blob/69105a24d77fcb6eca701282a16dd5ec7311c077/tlsfixer/ntdll.d#L130
> >
> > By the way, current code isn't affected by the topic issue.
> 
> I personally find the former more readable but I guess there 
> would always be someone to disagree. As the say, YMMV.

Honestly, I can't imagine how anyone wouldn't find the latter vastly
more readable.



More information about the Digitalmars-d mailing list