Pow Expressions - not worth the juice?

H. S. Teoh hsteoh at qfbox.info
Tue Feb 3 15:33:07 UTC 2026


On Mon, Feb 02, 2026 at 09:43:45AM -0800, Walter Bright via Digitalmars-d wrote:
> https://dlang.org/spec/expression.html#pow_expressions
> 
> They're a bit of an oddball feature in D, in that it's the only
> feature that relies on Phobos for its implementation.
> 
> Time for it to go?

No, please don't.  Being able to write x^^y instead of ugliness like
pow(x,y) that you have to in other languages is a very nice QoL feature
in D.  Why are we trying to make D harder to use, instead of easier?


T

-- 
People tell me that I'm paranoid, but they're just out to get me.


More information about the Digitalmars-d mailing list