Euhm no? They have different parameters and a different result, most likely a different abi too. What would happen if you call Write(), what would the position or value be?
Either way no we don’t support that, no we’re not ever going to support it, that’s not how interfaces work.
I know that common Interfaces dont Support that, but it would actually be cool and in my head it is actually symantically, because:
i can call “Write(myownparam)” and the Compiler would in my Vision be able to understand that it is still a member of “ITest”, its like ducktyping, isnt it?
What are ur concerns about that, except of Course the potencial amount of work for that Compiler-lvl, but as i said before, i honestly cant understand why this is so hard to do, when you have the “where” logic in your Compiler-Code, that you just Need to take this and negate it, or something like that^^
Ofc, it can be more complex as i think but this i ask better you^^
things are rarely as trivial as they may seem. especially when dealing with generics, and with 4 entirely different platforms, two of which impose their own generic subsystem that we need to work within.
Because Pascal uses class as a modifier for that, not static.[quote=“shpend_hoti, post:54, topic:12295”]
: var a: new Array of int32(1000) with var a : new Int32[1000];
[/quote]
not sure what you mean here. Either you use:
var x := new array of Int32(1000);`
or
var x := new Int32[1000];
But cant you make it internally class method… and on the outside the developer uses static?
and
Yes this is what i mean, this double.equal-syntax, why not just ONE of the Syntax, why allowing 10000 Options how to write it, this Problem i think has C++. you can write totally what and how you want, thats on one side very powerful, but on the looking-convention-side it is really bad for others reading Code.
The next is Methodsignature:
use, block, or method or Func<…>, Action,
i mean, why not just ONE of them and everywhere you are able to do everything with this ONE Syntax, not multiples. But currently, every developer has differnet code-styles which perverts often the look and makes it more difficuilt to read and with that to understand
IMHO