My project is about an automatic HTML documentation generator. The final product can’t be in C# because of some organizational and legal constraints.
To my experience, Python is harder to debug than C#, primarily because it is only weakly typed. Hence I thought I could implement my project in C# and then convert it to Python.
Is this a sound approach, which could help me to create the software faster and avoid bugs? What can go wrong with this way of doing things?
10
The obvious risk here that you introduce bugs while “converting” it to Python – scare quotes as it’s going to be more of a complete rewrite than a real conversion, particularly if you depend on any nontrivial C# libraries.
Of course, you can reduce that risk by having a thorough integration/system test suite… but if you have a thorough test suite, you may as well just write it in Python in the first place, so I don’t see what this scheme will gain you.
It sounds to me like you probably just need to practice your debugging skills in Python; the lack of types doesn’t make it harder to debug as and of itself, but it is a different language in many ways.
2