Is the world coming to an end?

spir denis.spir at gmail.com
Sun Apr 3 12:03:17 PDT 2011


On 04/03/2011 08:17 PM, Walter Bright wrote:
> On 4/3/2011 4:48 AM, spir wrote:
>> When I introduced the topic of octal notation 0nnn beeing bad, I was 100% sure
>> that (if a move was ever made) either octals would be thrown out of D all
>> together for beeing nearly useless, or the syntax would be fixed -- the
>> "obvious" "correct" solution if octals remain. While I new about octal!, this
>> was so hackish and obviously wrong *for me*, that I did not even imagine one
>> second it could become the "official" solution.
>> I'm certainly not the only one.
>> Questions of detail, sure, but we all know what the details hide ;-)
>
> I can see that the syntax octal!677 can be a bit off-putting at first, simply
> because it is not what we're used to. But give it a chance.

Sorry, I expressed my thought wrongly: I meant this was my first impression. 
Then, I would rather go (see other post) for a general baseNumber! template, 
that could trivially be aliased as in
     alias baNumber!3 base3;
What do you think?

Denis
-- 
_________________
vita es estrany
spir.wikidot.com



More information about the Digitalmars-d mailing list