what is the preferred way - functions/static methods or extension methods
Posted: Fri Sep 14, 2018 6:34 am
Hi Jamal,
thank you - so we are at 5.5 : 3.25 now.
Regarding your comment about dot or colon: in the Core dialect you can use the dot instead of the colon. But at least XIDE does not support that in thew editor, I don't know about Visual Studio.
Personally I prefer the colon because it makes it clearer where a method comes from - it is easier to read.
It seems to be a similar question as "implements" and "inherit" - X# makes a difference and the code easier to read, whereas C# is shorter, but IMHO harder to read.
Wolfgang
thank you - so we are at 5.5 : 3.25 now.
Regarding your comment about dot or colon: in the Core dialect you can use the dot instead of the colon. But at least XIDE does not support that in thew editor, I don't know about Visual Studio.
Personally I prefer the colon because it makes it clearer where a method comes from - it is easier to read.
It seems to be a similar question as "implements" and "inherit" - X# makes a difference and the code easier to read, whereas C# is shorter, but IMHO harder to read.
Wolfgang