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++? - Ofnuts - Apr-28-2017

(Apr-27-2017, 04:54 PM)wavic Wrote: 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.

Except Perl (see CPAN). But then, it's Perl :)


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

I know one thing about Perl. It's the only language that looks the same before and after encryption. Big Grin

No brackets in Python, no strange symbols in the names.


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

(Apr-28-2017, 10:44 AM)wavic Wrote: I know one thing about Perl. It's the only language that looks the same before and after encryption. Big Grin

No brackets in Python, no strange symbols in the names.
After you go Python... Perl is an ugly stepsister Cool who has been around longer


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

(Apr-28-2017, 10:44 AM)wavic Wrote: I know one thing about Perl. It's the only language that looks the same before and after encryption. Big Grin

You should check APL family - for example K. And thats language that is used, not esoterical language like Befunge or Malbolge.


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

(Apr-28-2017, 11:18 AM)zivoni Wrote:
(Apr-28-2017, 10:44 AM)wavic Wrote: I know one thing about Perl. It's the only language that looks the same before and after encryption. Big Grin

You should check APL family - for example K. And thats language that is used, not esoterical language like Befunge or Malbolge.

The mine was partly a joke but you are serious. I am terrified. Malbolge. How one can learn this! Cry


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

(Apr-28-2017, 11:18 AM)zivoni Wrote: or Malbolge.
The most hell-crazy language ever.
After 7-years a "crazy" Japanese did write a correct 99 bottles solution,
this is the highest rated solution of all.

C++ lose more and more ground,as a part this many goes to Rust.
Which can solve many of the task as C++ in a safer way.
Mozilla is under way to drop a large part of C++ code,and rewriting to Rust.
Shipping Rust in Firefox


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

(Apr-28-2017, 12:11 PM)snippsat Wrote: The most hell-crazy language ever.

Crazier than Brainfuck?!


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

I've dipped my feet into rust. It's actually a really cool language. It's low level, very fast, and with many functional features to it (parts of it look very similar to F#, and I hear several of the developers are fans of Haskell). It also has a package manager similar to pip (called cargo) which is very nice (it's sort of the main interface to the language... it's a package manager and also build manager and also is the main interface to the compiler).

It also has a macro system that feels like they're trying hard not to let it get too crazy (I'd consider c++ macros/preprocessor to be far more powerful than is needed).

A really neat web framework that's popped up is Rocket: https://rocket.rs/
A game engine (or really a collection of tools to help you, so a web framework, not all that different from pygame really): http://www.piston.rs/

All that said, I still prefer python. Rust's borrow checker is still boggling my mind, and even once I "get it", writing quick things quickly is still nicer in python.


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

R has been around since 1992. So I think It's a survivor. I know it's partially like MIT Scheme
which is essentially Lisp, that could make it very powerful but cryptic.

Rocket I think is even more Scheme like.

You need to report back after using for a while.


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

Yes, R is "modern" implementation of S (statistical language from 1976...) influenced with scheme. That combined with fact that it was/is made mainly by statisticians, not programmers makes it little messy, not mentioning things like 3+ different types of classes