Jump to content
  • Advertisement
Sign in to follow this  
Durakken

converting between languages useful?

This topic is 3407 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've been thinking that it might be useful to take any programs I do in C++ and do the in Python and vice verca... would these be useful to do or would it just be a waste of time?

Share this post


Link to post
Share on other sites
Advertisement
If you mean as a learning experience, then yes, that can be a good way to get some practice. Keep in mind however that to do it properly you shouldn't just be going through line-by-line looking for equivalent statements in the language you're changing to, but rather should be rewriting things to fit in with the idiomatic use of the languages in question - so the requirements for each program will be the same, but the method of solving the problem in each language, and well as how your chosen solutions are expressed will probably be quite different.

You could of course simply solve new problems in each language instead, or perhaps try your hand at some Project Euler questions. If you think you might benefit by all means try reworking some programs in a different language though - if nothing else, it can be quite interesting to see how different the solutions can sometimes be.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!