On Tuesday, 21 January 2025 at 03:43:02 UTC, Paul Backus wrote:
>On Monday, 20 January 2025 at 22:55:29 UTC, Walter Bright wrote:
>On 1/19/2025 9:33 AM, Paul Backus wrote:
>Why not just add a simple reinterpretCast!T
helper function to Phobos or druntime?
Great question.
reinterpretcast!T
is just ugly. I never liked it in C++. cast(ref T)
, on the other hand, looks nice.
Would you be open to using a helper function if it had a shorter, less ugly name?
please stop trying to kill D improvement proposals by suggesting Yet Another Template
nobody, literally, nobody ever thought of using a template TO CAST, this is ridiculous, stop
Makes debugging poor
Makes compile speed poor
Makes error messages poor
There should be a rule to ban the word "template" from DIPs discussions
Focus on wether or not it is a good idea, stop the bikeshedding, it's time to accelerate, i swear, people are ignored D when they discuss better C languages
Even the mainstream media ignores D
https://x.com/lexfridman/status/1878871091667448123
I know i am annoying, not all my suggestions are good, but c'mon, a template to ask..
RandomPerson: sir, how i i cast in D?
DMaintainerOf10years: you have to `import std.meta.cast`, then you call this template `castPleaseIntoThisT!(T)`
RandomPerson: wow, this is the best language ever
RandomPerson has left the chat.