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++?
#31
(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 :)
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Reply
#32
Big Grin 
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.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#33
(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
Test everything in a Python shell (iPython, Azure Notebook, etc.)
  • Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
  • Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
  • You posted a claim that something you did not test works? Be prepared to eat your hat.
Reply
#34
(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.
Reply
#35
(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
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#36
(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
Reply
#37
(Apr-28-2017, 12:11 PM)snippsat Wrote: The most hell-crazy language ever.

Crazier than Brainfuck?!
Test everything in a Python shell (iPython, Azure Notebook, etc.)
  • Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
  • Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
  • You posted a claim that something you did not test works? Be prepared to eat your hat.
Reply
#38
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.
Reply
#39
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.
Reply
#40
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Mac os choose file name howard687 1 1,866 Jan-05-2022, 06:54 AM
Last Post: Larz60+
  Loop with choose Irv1n 5 3,237 Sep-16-2021, 09:31 PM
Last Post: deanhystad
  Choose an element from multidimensional array quest_ 2 2,645 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,017 Jul-22-2020, 06:06 PM
Last Post: Larz60+
  Choose your own adventure game noahc2004 2 2,581 Jun-26-2020, 02:06 PM
Last Post: DPaul
  Please help a newbie choose which programming language to learn. yeto 2 3,501 Feb-25-2019, 12:56 AM
Last Post: yeto
  User Input to Choose from Dictionary anelliaf 9 25,803 Mar-27-2018, 02:22 PM
Last Post: anelliaf
  Need a little more help in a Choose Your Own Adventure Program Goldberg291 13 18,514 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