If I have a personal programming project that I plan to port in another language so it could run in other environments, would it be more ideal to start porting the code as soon as possible and work on two versions concurrently? Or would that slow down my production a lot, and should I wait until I have finished some key components of the program?
|
|
Speaking from experience, you do not want to get yourself caught maintaining two separate versions of your pet program.
I would suggest you start porting to C++ as soon as possible, as it will probably be easier to port something small and concise. |
|||
|
|
|
C# and C++ are more than different enough that I'd advise just skipping C#. You'll only get into habits that you will have to quickly unlearn once you get to C++- like excessive dynamic allocation and inheritance, for example, and programming to a framework is very different to programming without one. You won't really learn any useful skills. The two are vastly more different than you appear to realize. Unless you actually will still need the C# version when you're finished in C++, I'd just never make the C# one to begin with. |
|||
|
|
I'd reply in a consultant's favorite way: "It depends" ;) Namely, upon the following parameters:
|
|||
|
|