Python Forum
Reasons to choose Python over C++? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Reasons to choose Python over C++? (/thread-3047.html)

Pages: 1 2 3 4 5 6 7


RE: Reasons to choose Python over C++? - Larz60+ - Apr-27-2017

I must admit I'm a bithead, I liked learning every language I ever used, even Lisp


RE: Reasons to choose Python over C++? - volcano63 - Apr-27-2017

(Apr-27-2017, 02:39 PM)Larz60+ Wrote: I must admit I'm a bithead, I liked learning every language I ever used, even Lisp
I hope you've never used this abomination called Tcl Evil


RE: Reasons to choose Python over C++? - micseydel - Apr-27-2017

(Apr-27-2017, 05:51 AM)RandoomDude Wrote:
(Apr-27-2017, 05:48 AM)ndc85430 Wrote: is also quite heavy on functional programming
If it contains heavy functional programming,i suppose that ,it will turn off your fun.
When I originally wrote Scala, I did not really use FP. I wouldn't count that against it at all. (I like Scala, though I still write Python by default.)


RE: Reasons to choose Python over C++? - volcano63 - Apr-27-2017

(Apr-27-2017, 03:11 PM)micseydel Wrote:
(Apr-27-2017, 05:51 AM)RandoomDude Wrote: If it contains heavy functional programming,i suppose that ,it will turn off your fun.
When I originally wrote Scala, I did not really use FP. I wouldn't count that against it at all. (I like Scala, though I still write Python by default.)
Actually, FP is the fun part - at least in the learning process. Java components suck Hand


RE: Reasons to choose Python over C++? - nilamo - Apr-27-2017

(Apr-27-2017, 05:51 AM)RandoomDude Wrote:
(Apr-27-2017, 03:17 AM)Larz60+ Wrote: C and C++ are hard to grasp but were so rewarding.
"Were"?
C is not that rewarding for a hobbyist,but it is for a pro programmer

That depends entirely on what it is, you personally, find rewarding. Maybe successfully managing memory, or writing interfaces to connect multiple unrelated languages together, or writing an app that runs on your car's stereo are what makes you happy.


RE: Reasons to choose Python over C++? - Ofnuts - Apr-27-2017

(Apr-26-2017, 04:32 PM)RandoomDude Wrote: Thanks Nilamo
 you are so helpful.

 But C++ is complex and it has multiple types of functions and headers.its not easy to remember them all.
 I was trying to study it for the past  1 month.i could not learn much.And there are lot of bugs in all compilers,i could not even run my helloworld cpp properly.
 So i moved on to python,its easy
 But there is not enough Beginner friendly tutors

Plenty of modules in Python as well.

There are no bugs in C++ compilers that a beginner will encounter with a mere HellowWorld.cpp. If it doesn't work, the problem is on your end. And this remains true until you reach a very expert level.


RE: Reasons to choose Python over C++? - wavic - Apr-27-2017

I can use Python directly and get what I want. Modules, modules, modules. For everything. I don't have to find the hot water by myself. The community. No other like this.


RE: Reasons to choose Python over C++? - Larz60+ - Apr-27-2017

One of my favorite, was Forth. It was an excellent language for instrumentation,
we built several spectrometers using Forth. It's demise I believe had to do with
the 'expandable compiler' which, used without discipline made too many versions
of the language, and the fact that it was hard to read if you had no experience
example:
: -FITS? linecount @ +  RMARGIN > ;
: SPACE' linecount @ IF  SPACE  1 linecount +!  THEN ;
: CR'    CR  0 linecount ! ;

: .WORD ( addr1 #chars1 -- addr2 #chars2 )
    BL Split-At-Char
    DUP 1+ ( space!) -FITS? IF  CR'  THEN
    SPACE' TYPE' ;
Which makes perfect sense if you owned an HP calculator.


RE: Reasons to choose Python over C++? - RandoomDude - Apr-28-2017

Dear Larz60+ ,
How can i report a bug?


RE: Reasons to choose Python over C++? - Mekire - Apr-28-2017

You report a bug by PMing a mod/admin and reporting it.  You don't report it by PMing every mod/admin and asking for a reward.  You were given a temp ban for your current behavior.  Do not just create a new account or you will be given a permanent IP ban.

Also, considering you thought your C compiler had a "bug" because you couldn't compile 'hello world' makes me skeptical about what you would and wouldn't call a bug.