VisualD regressions are severe; what do we do about critical infrastructure?
monkyyy
crazymonkyyy at gmail.com
Sun Oct 27 03:24:19 UTC 2024
On Sunday, 27 October 2024 at 02:27:23 UTC, Adam Wilson wrote:
> On Sunday, 27 October 2024 at 01:25:58 UTC, monkyyy wrote:
>>
>> If I translated my "weak" concept to the official style guide
>> and added giant wall of text "documenting" it(being verbose
>> and unclear via overt unnecessary formality to match phoboes
>> style) would odds of success would you expect?
>
> If you convert them into mergeable PR's, and if you are willing
> address change requests, and if you are willing to add the
> necessary documentation, then I don't see why merging them
> would be a problem.
>
Also not a number and thats a question for the perma-optimists;
and *for you* I really really intent to drive the point home;
waiting a decade on a theatrical feature isn't eager. I was here
for a few of them and made my opinion known at the time.
>>> some of us have itchy merge buttons
> And dropping the passive aggressive snark would definitely help
> your odds.
I was unaware I was passive or snarky. Im livid, perhaps Im not
communicating that well enough. I offered to help again and again
and again; with wise restraint to want clear communication before
starting on anything. Call me cynical, but I listened to others
stories of being burned by the politics and didnt want to dive in
head first.
You have no success integrating new people, and low success
keeping people around. That's a political problem. Not a money
problem; nor something you can dodge with someone who wants to
pick a fight.
here let me write that in Phoboes-style for ya
```d
/**
Weakens an alias, so it must be compatible with T or it returns a
valid T instead,(T.init), this can be used to make over loadable
function arguments with default values. WeakAlias is for
compiletime, WeakValue for runtime.
**/
auto ref WeakAlias(T,alias A)(){
static if(is(T:typeof(A))){
return A;
} else {
return T.init;
}}
auto ref WeakValue(T,S)(auto ref S a){
static if(is(T:S)){
return a;
} else {
return T.init;
}}
unittest{
void foo(T)(T i=WeakValue!T(1)){}
struct myint{int i;}
foo(myint(2));
//void bar(T)(T i=1){}
//bar(myint(2));// fails, "cannot implicitly convert"
}
```
More information about the Digitalmars-d
mailing list