Wie programmiere ich am besten mit einem Freund an einem Programm?
Hey,
ein Freund und ich sind gerade einer Idee nachgegangen ein Programm mit c# zu schreiben, welches wir schon länger im Kopf haben. Wie kann man am besten gemeinsam programmieren (auch von unterschiedlichen Rechnern aus)? Unsere bevorzugte Entwicklungsumgebung ist Visual Studio.
Ps. .NET ist schon am besten, wenn man ein Programm schreiben möchte was auf diversen OS funktionieren soll, oder?
Über antworten bzw. Tipps würde ich mich sehr freuen, da es das erste mal ist, dass wir einen Versuch starten ein Programm zu schreiben welches nicht nur in der Konsole ausführbar ist.
Lg
You want to select a suitable VCS that centrally manages and provides the source code.
Ideally, a repository that is equally usable by all computers – there are also hosted, such as github or similar providers.
P.S.: There are also variants such as hg (mercurial), which support decentralized repositories instead of just one working copy – However, this makes use sometimes more complicated, two decentralized and a central repositoriy with superimposing changes is no longer so trivial in merging.
The standard solution would be git, the alternatives would be more exceptions, e.g. for Gamedev one takes some other, or older projects that started with other VCS.
In addition, one organizes itself via issues, separates the code reasonably, uses branches. If you clean it up, you can work together asynchronously relatively well.
Issues offer Git web interfaces/hosts/servers such as GitHub or Gitlab for free, with selfhosting there is gitea.
Against current .net nothing speaks if it is to run on multiple platforms. Just have to pay attention to not using hardcoded paths for Windows in your code as an example.
Wherever two or more people have to jointly implement software – a so-called. Application system AS – are absolutely necessary:
It is important that the entire team agrees to receive these 4 documents up to the end of the project in the sense that they are
|
Wisse: Using programs like MS Liveshare ( https://learn.microsoft.com/en-de/visualstudio/liveshare/faq ), as someone else suggests here is by no means necessary, but can be helpful to communicate easily in the team where it is necessary. The creation of documents mentioned above is, however, in no case superfluous. That’s too little clear to many beginners.
Use as a programming language C# (and .NET as a repository already implemented auxiliary functionality) is possible and usually a really good idea.
1) VCS as git
2) VS has LiveShare, so you can work together with different computers.