I'm glad throw is now an expression
deadalnix
deadalnix at gmail.com
Mon May 16 15:18:11 UTC 2022
So, throw is now an exception. It is true that this is useful,
for instance, it is now more convenient to throw from a lambda.
This is in fact so convenient that it deserve to break compiler
explorer, which do not support the feature.
In fact, it is so convenient that it was worth breaking any code
formater out there (breaking new I maintain one).
In fact so much worth it that it doesn't matter it break syntax
coloring in numerous text editor. Real programmers use their own
fork of emacs anyways.
In fact, so extremely convenient that it is worth breaking pretty
any tools around D. Who need a thriving ecosystem anyways?
In fact, so, so, so convenient that it's worth pushing it out
with an invalid spec, so that the maintainers of said tools don't
even have the information they require to fix it.
Listen people, I have nothing against this feature. It's true
that it is great. But stop breaking everybody's tools all the
time for random shit with only marginal utility. I need working
tools way more than throw expressions. I need proper spec way
more than throw expression. And D needs an ecosystem that is
growing at some point, which is unlikely to happen breaking
everybody's shit all the time.
Just bundle all these change in a big upgrade, just do done every
few years, and be done with it. like any sane language does.
Bonus point: it's buggy
https://issues.dlang.org/show_bug.cgi?id=23114
More information about the Digitalmars-d
mailing list