Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #63750

Re: Open Question - I'm a complete novice in programming so please bear with me...Is python equivalent to C, C++ and java combined?

From Steve Hayes <hayesstw@telkomsa.net>
Newsgroups comp.lang.python
Subject Re: Open Question - I'm a complete novice in programming so please bear with me...Is python equivalent to C, C++ and java combined?
Date 2014-01-12 07:08 +0200
Organization Khanya Publications
Message-ID <cd84d9dfi4bvs8o2her0qt9ethppuvpj7o@4ax.com> (permalink)
References <18b67e59-39d1-41e2-8977-b1c449b132e7@googlegroups.com> <roy-24194C.10455311012014@news.panix.com>

Show all headers | View raw


On Sat, 11 Jan 2014 10:45:53 -0500, Roy Smith <roy@panix.com> wrote:

>In article <18b67e59-39d1-41e2-8977-b1c449b132e7@googlegroups.com>,
> pintreo mardi <bigearl497@outlook.com> wrote:
>
>> Hi, I've just begun to learn programming, I have an open question for the 
>> group:
>> Is the Python language an all in one computer language which could replace C, 
>> C++, Java etc.. I only ask becuase I am starting off with python and I want 
>> to learn everything in basic and advanced programming with python itself...So 
>> any advice and suggestions would be more than welcome.
>> Thanks!!
>
>That's a really hard question to answer, or at least to answer well.
>
>At a theoretical level, when you ask, "Is Python equivalent to C, C++ 
>and Java", the answer is "yes".  In computer science, programming 
>languages are classified by whether they are "Turing Complete" or not 
>(google that for more info).  In theory, any Turing Complete language is 
>capable of writing all programs which can be written in any other Turing 
>Complete language.  All of the languages you mention are Turing 
>Complete, so, theoretically, they are all equivalent.
>
>But, at a more practical level, some languages are easier to learn, some 
>run faster, some are more portable, some are more convenient to use, 
>etc.  If I had to rank the languages you mention by a few categories, 
>I'd say something like:
>

I think the significant thing is that some languages are easier to use for
some things than for others. Though you can use any language to write any kind
of program in theory, in practice some languages are designed to write certain
kinds of programs more easily and more quickly -- Prolog for AI programs, for
example.

So the question is, which kinds of programs is Python best for?

I'm a novice at it, so it's a question that concerns me. From what I've heard
and read, it seems to be a fairly good general-purpose language, and it seems
to be most used for writing web applications (though that is not something I
am particularly interested in). 


-- 
Steve Hayes from Tshwane, South Africa
Web:  http://www.khanya.org.za/stevesig.htm
Blog: http://khanya.wordpress.com
E-mail - see web page, or parse: shayes at dunelm full stop org full stop uk

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Open Question - I'm a complete novice in programming so please bear with me...Is python equivalent to C, C++ and java combined? pintreo mardi <bigearl497@outlook.com> - 2014-01-11 00:07 -0800
  Re: Open Question - I'm a complete novice in programming so please bear with me...Is python equivalent to C, C++ and java combined? Chris Angelico <rosuav@gmail.com> - 2014-01-11 19:21 +1100
    Re: Open Question - I'm a complete novice in programming so please bear with me...Is python equivalent to C, C++ and java combined? pintreo mardi <bigearl497@outlook.com> - 2014-01-11 02:10 -0800
      Re: Open Question - I'm a complete novice in programming so please bear with me...Is python equivalent to C, C++ and java combined? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-11 10:51 +0000
  Re: Open Question - I'm a complete novice in programming so please bear with me...Is python equivalent to C, C++ and java combined? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-11 10:47 +0000
  Re: Open Question - I'm a complete novice in programming so please bear with me...Is python equivalent to C, C++ and java combined? Roy Smith <roy@panix.com> - 2014-01-11 10:45 -0500
    Re: Open Question - I'm a complete novice in programming so please bear with me...Is python equivalent to C, C++ and java combined? Steve Hayes <hayesstw@telkomsa.net> - 2014-01-12 07:08 +0200
      Re: Open Question - I'm a complete novice in programming so please bear with me...Is python equivalent to C, C++ and java combined? Chris Angelico <rosuav@gmail.com> - 2014-01-12 16:58 +1100
        Re: Open Question - I'm a complete novice in programming so please bear with me...Is python equivalent to C, C++ and java combined? Rotwang <sg552@hotmail.co.uk> - 2014-01-12 14:36 +0000
          Re: Open Question - I'm a complete novice in programming so please bear with me...Is python equivalent to C, C++ and java combined? Chris Angelico <rosuav@gmail.com> - 2014-01-13 01:44 +1100
  Re:Open Question - I'm a complete novice in programming so please bear with me...Is python equivalent to C, C++ and java combined? Dave Angel <davea@davea.name> - 2014-01-11 19:37 -0500
  Re: Open Question - I'm a complete novice in programming so please bear with me...Is python equivalent to C, C++ and java combined? matej@ceplovi.cz (Matěj Cepl) - 2014-01-12 02:36 +0100
  Re: Open Question - I'm a complete novice in programming so please bear with me...Is python equivalent to C, C++ and java combined? Dan Stromberg <drsalists@gmail.com> - 2014-01-11 18:43 -0800
  Re: Open Question - I'm a complete novice in programming so please bear with me...Is python equivalent to C, C++ and java combined? Grant Edwards <invalid@invalid.invalid> - 2014-01-12 18:53 +0000

csiph-web