xsharp.eu • X# Core - which way? - Page 3
Page 3 of 3

X# Core - which way?

Posted: Mon Jul 02, 2018 5:54 pm
by TerryB1
Hi Dick
Each to his own I guess.
> why do I have to manually change a namespace in multiple files including obscure files VS apparently needs to support it's solutions.

You don’t, and VS does not require it.

If you choose to write your program in one namespace in one file there is nothing to stop you. In that case using VS would probably be overkill.
So the question becomes what is the advantage of distributing source code over multiple files in this way?
My answer to that is: whenever trying to do something new, look a how nature does it (that will be the most efficient and streamlined) and do it the way we as human beings would do things naturally. Look at what we are good at and then capitalise on it.

I look at any program, when running, as being a 3D dynamic object.

Taking that view, a program has breadth and depth. We think this way naturally but not at the same time. By splitting code across files and namespaces we can arrange it, or rather match its structure to the way we think. As our program evolves during development things will change, names will not convey what the code is actually doing and so on. Thus we need re-factoring.

Hope that makes some sense.
Terry

X# Core - which way?

Posted: Sun Jul 08, 2018 8:25 am
by TerryB1
Hi Tom
Yes – dot Net is vast, and nobody can learn it all at once. A better way to see the overall picture is by analogy to what we already know.

How it all fits together is difficult to explain without ambiguity.

I have therefore tried to show how I see all of it fitting together in diagrammatic form. I hope it is to a large extent self-explanatory.
(Best viewed A3 landscape).
If anyone feels it miss-represents the situation or needs further clarification I’d be very grateful if you’d let me know.
Hope it helps.

Best Regards
Terry

X# Core - which way?

Posted: Sun Jul 08, 2018 8:31 am
by FFF
Seems there's a problem with the link...

X# Core - which way?

Posted: Sun Jul 08, 2018 8:58 am
by TerryB1
Have just tried on a different machine and was able to download OK.


I'm using Edge and downloaded to different Tab.


Terry

X# Core - which way?

Posted: Sun Jul 08, 2018 9:42 am
by FFF
Strange,
using FF 61.0.1 i only get the attached message. Note: also the link button looks somewhat strange ;)
EDIT: tried with Vivaldi, same problem...

X# Core - which way?

Posted: Sun Jul 08, 2018 10:07 am
by TerryB1
I'll try again

X# Core - which way?

Posted: Sun Jul 08, 2018 10:58 am
by Karl-Heinz
Guys

tried it with IE and FF: a left click doesn´t open the pdf, but i´m able to download the pdf with a right click and choose "save as". Don´t know, but did a left click ever open a pdf in this forum ?

regards
Karl-Heinz

X# Core - which way?

Posted: Sun Jul 08, 2018 11:35 am
by FFF
I think it did - but "Save as" did help, thx!

X# Core - which way?

Posted: Sun Jul 08, 2018 3:47 pm
by wriedmann
Hi all,

returning to the original topic:

After having worked two years with X# Core, I have decided to use the X# runtime in my newest project (a syncronization service between my ERP system using ADS and a external CRM using SQL server).

It has been really a boost of my productivity to use the X# runtime functions instead of the .NET functionality.

I have rewritten a simple functionality (split up an continental combination of country, post code and city into parts), a piece of code that is at least 20 years old. I have rewritten it in X# using only functionality of the .NET Framework, and it was about a half day of work until it worked like it's VO counterpart.

Therefore I have decided to use the runtime functions since we have them not without being limited to Vulcan, x86 and no multithreading.

Wolfgang