Python Forum
Reasons to choose Python over C++?
Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reasons to choose Python over C++?
#4
I started with C++. And found everything i wanted to do in C++ i was able to do in python. I dont think I ever really went back. Even my game dev itch was scratched by python instead of C++. 

(Apr-26-2017, 04:32 PM)RandoomDude Wrote: But C++ is complex and it has multiple types of functions and headers.its not easy to remember them all.
Any programming language takes years of practice to become fluent in it. More so with C++ than a language like python. But they all take time. One month is not enough even for python, let alone C++.

(Apr-26-2017, 04:32 PM)RandoomDude Wrote: But there is not enough Beginner friendly tutors
Where are you looking? There are a lot if you google a speciifc activity.

We have our own tutorials
https://python-forum.io/Forum-Tutorials

and there references to other tutorials
https://python-forum.io/Thread-A-List-of...-Resources

If you have trouble finding a tutorial anywhere we take requests (though its at our own timeframe)
https://python-forum.io/Thread-Tutorial-Requests

(Apr-26-2017, 04:22 PM)nilamo Wrote: If you're working on a video game, then... it depends on what kind. But c++ would probably be better. Even then, I'd say Java/C#/Lua would be better than either, unless execution speed was an issue as before.
You can do quite a bit with Python. It depends on what kind of game, how far advanced you want, etc. You can easily start in python and later be transfer if needed to c++. You can learn the same concepts, pitfalls, strategies, in c++ game dev that you do in python while making decent games in python. For example here are a list of games people compete with on pyweek. Note that they are created in a week. So most games dont have a lot of flare.

Quote:What are the reasons to choose python over c++?
I think the #1 for me is i enjoy more coding in python than i do with languages like C++, PHP, Java, etc. I stay away from Microsoft C#. I just have more fun doing it as i am not wresting with the language as much if at all. 

NOTE: sometimes you have to use different languages. You can always attempt to tweak a language to be like another language to try to use just 1 language (which is never ideal or recommended), but you end up fighting the language then. Its sometimes just easier to use multiple languages. Once you learn the concepts, you can easily transfer them to other languages. Most are just syntax changes. So once you learn the first language, the second or third is not as bad.

For example if you want to do Android, though python's Kivy does work, its actual easier to use java (in my opinion). Last i recall to make an Xbox game you have to write it in C# (if thats still valid?). This forum I would rather be in Python (we all would), but the software already exists in PHP and is maintained so we dont have to. If you need to create a driver for unknown hardware, you might be best with C++.

I can tell you one thing that will never be written in python. Video Card drivers. They need to be fast fast fast. 
Recommended Tutorials:
Reply


Messages In This Thread
Reasons to choose Python over C++? - by RandoomDude - Apr-26-2017, 03:56 PM
RE: Reasons to choose Python over C++? - by nilamo - Apr-26-2017, 04:22 PM
RE: Reasons to choose Python over C++? - by Ofnuts - Apr-27-2017, 04:43 PM
RE: Reasons to choose Python over C++? - by metulburr - Apr-26-2017, 04:45 PM
RE: Reasons to choose Python over C++? - by nilamo - Apr-26-2017, 04:47 PM
RE: Reasons to choose Python over C++? - by Larz60+ - Apr-26-2017, 05:08 PM
RE: Reasons to choose Python over C++? - by Mekire - Apr-26-2017, 08:10 PM
RE: Reasons to choose Python over C++? - by Larz60+ - Apr-27-2017, 03:17 AM
RE: Reasons to choose Python over C++? - by nilamo - Apr-27-2017, 03:28 PM
RE: Reasons to choose Python over C++? - by Larz60+ - Apr-27-2017, 02:39 PM
RE: Reasons to choose Python over C++? - by caxis - May-02-2017, 11:05 AM
RE: Reasons to choose Python over C++? - by wavic - Apr-27-2017, 04:54 PM
RE: Reasons to choose Python over C++? - by Ofnuts - Apr-28-2017, 09:35 AM
RE: Reasons to choose Python over C++? - by Larz60+ - Apr-27-2017, 06:05 PM
RE: Reasons to choose Python over C++? - by MrGutsy - Apr-28-2017, 04:33 AM
RE: Reasons to choose Python over C++? - by Mekire - Apr-28-2017, 05:54 AM
RE: Reasons to choose Python over C++? - by wavic - Apr-28-2017, 10:44 AM
RE: Reasons to choose Python over C++? - by zivoni - Apr-28-2017, 11:18 AM
RE: Reasons to choose Python over C++? - by wavic - Apr-28-2017, 12:07 PM
RE: Reasons to choose Python over C++? - by Ofnuts - Apr-28-2017, 10:33 PM
RE: Reasons to choose Python over C++? - by nilamo - Apr-28-2017, 03:06 PM
RE: Reasons to choose Python over C++? - by Larz60+ - Apr-28-2017, 04:55 PM
RE: Reasons to choose Python over C++? - by zivoni - Apr-28-2017, 05:34 PM
RE: Reasons to choose Python over C++? - by wavic - Apr-28-2017, 07:13 PM
RE: Reasons to choose Python over C++? - by nilamo - Apr-28-2017, 07:27 PM
RE: Reasons to choose Python over C++? - by Larz60+ - Apr-28-2017, 10:56 PM
RE: Reasons to choose Python over C++? - by nilamo - Apr-29-2017, 01:42 PM
RE: Reasons to choose Python over C++? - by Larz60+ - Apr-29-2017, 04:29 PM
RE: Reasons to choose Python over C++? - by Ofnuts - Apr-30-2017, 10:29 AM
RE: Reasons to choose Python over C++? - by Ofnuts - Apr-30-2017, 09:55 AM
RE: Reasons to choose Python over C++? - by nilamo - May-03-2017, 04:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mac os choose file name howard687 1 1,908 Jan-05-2022, 06:54 AM
Last Post: Larz60+
  Loop with choose Irv1n 5 3,306 Sep-16-2021, 09:31 PM
Last Post: deanhystad
  Choose an element from multidimensional array quest_ 2 2,687 Nov-25-2020, 12:59 AM
Last Post: quest_
  Need help implmenting if/else or case statements for option to choose file format. samlee916 1 2,047 Jul-22-2020, 06:06 PM
Last Post: Larz60+
  Choose your own adventure game noahc2004 2 2,625 Jun-26-2020, 02:06 PM
Last Post: DPaul
  Please help a newbie choose which programming language to learn. yeto 2 3,561 Feb-25-2019, 12:56 AM
Last Post: yeto
  User Input to Choose from Dictionary anelliaf 9 25,969 Mar-27-2018, 02:22 PM
Last Post: anelliaf
  Need a little more help in a Choose Your Own Adventure Program Goldberg291 13 18,708 Jan-31-2017, 08:33 AM
Last Post: Ofnuts

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020