Sunday 15 February 2015

which is a better language (C++ or Python) for complex problem solving exercises (ex. Graphs)? -


I'm trying to work on some problems and algorithms. I know C ++ but a friend told me that it would be better if done with Python. As it will be for fast and to develop and spend less time programming details

edit 2 : I plan to use Python-graph lib from Google-code, please provide example code if you have used it.

Edit 1 : Faster - less time & amp; Amp;

I thank you for your help! It seems that you are searching for Python, because you can:

  • Focus on algorithms and do not worry about other details like memory management.
  • Do more with a lower code
  • Syntax is working with almost the phonetic code.
  • List, Tuple, has been made great in language support for the list, etc ..

But more specifically ...

< Ul>
  • If you mean speed of development , then Python was selected from better .
  • If you call speed of execution from better , then C ++ .

  • No comments:

    Post a Comment