shouting versus dotting

Leandro Lucarella llucax at gmail.com
Mon Oct 6 11:36:09 PDT 2008


Andrei Alexandrescu, el  5 de octubre a las 17:45 me escribiste:
> >"enum" as the way to declare manifest constants were much more ugly than
> >"!(", and most of the people were against it. I don't see why ".(" should
> >be introduced.
> 
> Ugly or not [...]

But this thread started about uglyness, and enum SOMETHING = 1 is plain
ugly =)

> >And if it's introduced, you'll have to read a lot of "!(" anyways, is not
> >that you will be solving any problems, because all D1-ported code (and
> >code of people who like "!(" better) will use it instead of ".(" (unless
> >"!(" stops working, in which case it's really dumb to make D1 incompatible
> >with D2 for this such a small aesthetic issue). So you'll just make things
> >whorse.
> >-1 for ".("
> >PS: I wont use Positive!() either ;)
> 
> Would you use Bounded? It takes a type, a minimum, and a maximum.

I don't make much numeric/math programming, but it sounds much more useful
than Positive.

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
You look so tired-unhappy,
bring down the government,
they don't, they don't speak for us.



More information about the Digitalmars-d mailing list