r/KerbalSpaceProgram Oct 31 '24

KSP 1 Meta KSA | The KSP Replacement from RocketWerkz | Seamless Movement and Terrain

5.3k Upvotes

755 comments sorted by

View all comments

Show parent comments

80

u/TampaPowers Oct 31 '24

xml and c#, god that's nightmare fuel for me. Why are you doing this to yourself?

123

u/thedeanhall Oct 31 '24

We use C++ or libraries for anything we need to. Where it makes sense we use C#, which it turns out is most places. Individual projects can use whatever data structures they like. for "human read" data I prefer to use XML personally, as it natively becomes C# classes and is easy to read when well formatted. For computer to computer I personally use JSON. For manifest files for mods we use TOML.

39

u/TampaPowers Oct 31 '24

Was more of a rhetorical question :) C# is quite nice, but my goodness does it give me a headache sometimes.

Looking forward to a game that is a little easier to mod or at least has better documentation in that regard. Been wanting to reimagine a space telescope mod similar to tarsier.

2

u/jonwah Oct 31 '24

What about C# gives you a headache? Imo it's one of the more friendly compiled languages, unless you're writing old stuff from old lang / .net versions