problem with size_t and an easy solution

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Tue Dec 9 19:46:54 PST 2014


On Wed, 10 Dec 2014 03:00:56 +0000
bitwise via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> > so let "intellisense-like" systems do the guesswork. i don't 
> > trust a
> > compiler that tries to guess what i mean instead of reporting 
> > the error
> > and stop right there. i.e. i once tried PL/1 compiler which was 
> > able to
> > "guess" what lone `IF` means. and now i don't want the compiler 
> > to
> > do *ANY* guesswork.
> 
> I probably should have started my own thread ;)

ah, no, this thread is fine too. ;-) this thread is not strictly about
"size_t", it's about inconsistencies and legacies in D.

> Anyways, this video is a couple of years old, but this is how 
> Clang does what I'm talking about, around 16:00 minutes in.
> 
> http://channel9.msdn.com/Events/GoingNative/GoingNative-2012/Clang-Defending-C-from-Murphy-s-Million-Monkeys
as i can understand from my limited "english hearing skills" ;-), this
is about guessing identifiers, right? another feature i found useless.
i even patched my DMD to stop suggesting me that BS, it's so annoying.
i want command-line argument to stop DMD doing that!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141210/d5cf412e/attachment.sig>


More information about the Digitalmars-d mailing list