View Poll Results: Best (first) language to learn programming

Voters
54. You may not vote on this poll
  • PHP/MySQL

    1 1.85%
  • Java

    5 9.26%
  • C++

    6 11.11%
  • C

    13 24.07%
  • C#

    2 3.70%
  • Python

    21 38.89%
  • Other (please explain)

    6 11.11%
Page 1 of 6 123 ... LastLast
Results 1 to 10 of 53

Thread: beginning programming/scripting

  1. #1
    Join Date
    Apr 2011
    Beans
    154
    Distro
    Ubuntu 12.10 Quantal Quetzal

    beginning programming/scripting

    I'm an information systems major, so i figure i should start learning programming/scripting (what's the difference anyway?)

    Should i start with something like PHP, or a more classic programming language like Java?

    little to no prior programming experience; i tend to do better with a physical book in my hand...
    what language would you recommend for starting to learn this stuff, and can you think of a title you'd recommend reading to help learn that language?

    how hard is Python? is that harder than java? I've noticed a lot of Ubuntu apps use python...

    (yes, i know, i'm a newb, but better late than never, right?)

  2. #2
    Join Date
    Jan 2011
    Location
    NEPAL
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: beginning programming/scripting

    Well, if you wanna get started with the programming stuff, i would suggest you go with C programming language first . . . . most of the object oriented stuffs originated now are from the basics of C programming language... in fact, C++ language is the extension of C programming itself...and so is Java. So i suggest you to start with C. I've just started to learn Python(25 hrs. till now) . . . and having the basic idea of it...dont know much about it...but after learning C programming, i found that C++ is easy to learn( my personal experience).
    Anyways, I learned C from this book "C Programming,A Modern Approach by K.N King" goodluck.


  3. #3
    Join Date
    Aug 2007
    Location
    From the land down under
    Beans
    1,241
    Distro
    Ubuntu Development Release

    Re: beginning programming/scripting

    Quote Originally Posted by WinuxUser View Post
    I've just started to learn Python
    Python ftw!
    // Blog

  4. #4
    Join Date
    Sep 2009
    Beans
    236

    Re: beginning programming/scripting

    i would say c, c++ or python are all fine (i love them all), you do need to pick one and focus on it (once you have the concepts other programming languages are easy).

    I started with C, which is easy to learn, though generally seems to only be used for difficult, low-level, super-tech programming. also c is not object oriented.

    if you're not mainly focused on programming in your degree, but broader system design, then i would suggest learning a 'higher-level' language, like python or c++. also these are object-oriented, and will give you an idea about object-oriented things.
    c++ and python are both quite fun to learn. i think python is probably easier, there are some really good google developer talks on python which you could learn from.
    i think you probably learn more from c++ (which is a really good basis for higher-level languages). for that i would suggest looking at the 'Schaum's ouline of programming in c++' book, it's pretty cheap, and has challenges and solutions.

    regarding 'programming' and 'scripting', you get scripting languages, which are 'interpreted' (basically compiled and run line by line) and 'compiled' languages (where you compile the whole program, then run it). also generally the term 'script' refers to a single file, which you can run to do one specific thing, often quickly hacked together without the more complex design elements of a full 'program'. python is a scripting, interpreted language, c++ is compiled.

    also surely this thread should be in 'programming talk'. did you look there?

  5. #5
    Join Date
    Apr 2011
    Beans
    154
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: beginning programming/scripting

    Quote Originally Posted by WinuxUser View Post
    Well, if you wanna get started with the programming stuff, i would suggest you go with C programming language first . . . . most of the object oriented stuffs originated now are from the basics of C programming language... in fact, C++ language is the extension of C programming itself...and so is Java. So i suggest you to start with C. I've just started to learn Python(25 hrs. till now) . . . and having the basic idea of it...dont know much about it...but after learning C programming, i found that C++ is easy to learn( my personal experience).
    Anyways, I learned C from this book "C Programming,A Modern Approach by K.N King" goodluck.
    interesting. Is C a lot easier than C++? I've heard ++ is a very difficult and demanding.

  6. #6
    Join Date
    Oct 2009
    Location
    Reykjavík, Ísland
    Beans
    13,647
    Distro
    Xubuntu

    Re: beginning programming/scripting

    Moved to the cafe, as it is not a support question.

    If you know HTML, getting into PHP would be a logical next step. If you want to learn object oriented, you can slowly introduce this to you PHP scripts when you are familiar with the basics.
    Last edited by mörgæs; October 3rd, 2011 at 01:04 PM.
    Bringing old hardware back to life. About problems due to upgrading.
    Please visit Quick Links -> Unanswered Posts.
    Don't use this space for a list of your hardware. It only creates false hits in the search engines.

  7. #7
    Join Date
    Apr 2011
    Beans
    154
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: beginning programming/scripting

    Quote Originally Posted by ikt View Post
    Python ftw!
    care to expound?

    Quote Originally Posted by F.G. View Post
    i would say c, c++ or python are all fine (i love them all), you do need to pick one and focus on it (once you have the concepts other programming languages are easy).

    I started with C, which is easy to learn, though generally seems to only be used for difficult, low-level, super-tech programming. also c is not object oriented.

    if you're not mainly focused on programming in your degree, but broader system design, then i would suggest learning a 'higher-level' language, like python or c++. also these are object-oriented, and will give you an idea about object-oriented things.
    c++ and python are both quite fun to learn. i think python is probably easier, there are some really good google developer talks on python which you could learn from.
    i think you probably learn more from c++ (which is a really good basis for higher-level languages). for that i would suggest looking at the 'Schaum's ouline of programming in c++' book, it's pretty cheap, and has challenges and solutions.

    regarding 'programming' and 'scripting', you get scripting languages, which are 'interpreted' (basically compiled and run line by line) and 'compiled' languages (where you compile the whole program, then run it). also generally the term 'script' refers to a single file, which you can run to do one specific thing, often quickly hacked together without the more complex design elements of a full 'program'. python is a scripting, interpreted language, c++ is compiled.

    also surely this thread should be in 'programming talk'. did you look there?
    so between c++ & python, you'd say c++? i know i have to take Java as a major related class next semester (wouldn't hurt to get an early start or more advanced, but i don't think C++ is in the docket. I also have to take COBOL (which, apparently, is more current than i thought.)

    good thought about the forum section. I figured it was a newbie question so i posted it here. I'll check over there. Perhaps a mod can move this thread if appropriate?

  8. #8
    Join Date
    Dec 2009
    Location
    The Milky Way
    Beans
    243

    Re: beginning programming/scripting

    Quote Originally Posted by RememberWhenItRained View Post
    care to expound?
    Allow me.

    Python is simpler, easier to learn, and overall more intuitive than C++; for example, here are 2 programs - one written in Python, the other, C++ - that both perform the same task: printing Hello World! on the screen:

    Python:
    Code:
    print "Hello World!"
    C++:
    Code:
    #include <iostream>
    using namespace std;
    
    int main()
    {
      cout << "Hello World!";
      return 0;
    }
    Which looks simpler? Both are complete programs, and both accomplish the same task, but Python lets you do more with a smaller amount of screen space used. As you start to program more and more, you'll learn that the smaller a program is, the less chances there are of bugs hiding somewhere in the code. This is why Python code often (this is just my experience) has less bugs in it than C++, especially before the first test.
    There are 10 different kinds of people:
    Those who understand binary numbers
    Those who don't
    Free/open-source game development kit: http://openblox.sourceforge.net

  9. #9
    Join Date
    Sep 2009
    Beans
    236

    Re: beginning programming/scripting

    Quote Originally Posted by RememberWhenItRained View Post
    care to expound?



    so between c++ & python, you'd say c++? i know i have to take Java as a major related class next semester (wouldn't hurt to get an early start or more advanced, but i don't think C++ is in the docket. I also have to take COBOL (which, apparently, is more current than i thought.)

    good thought about the forum section. I figured it was a newbie question so i posted it here. I'll check over there. Perhaps a mod can move this thread if appropriate?
    ok, so i would really suggest c++ (though i'm always learnering too). with c++ pointers you will get a feel for memory locations and passing values etc. also if you follow a good book you will cover some data structures too.

    python is excellent. but if you carefully go through c++, i think everything will be alot lot easier, with python and Java. so my personal recommendation would be c++.

  10. #10
    Join Date
    Apr 2011
    Beans
    154
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: beginning programming/scripting

    Just talked to my Comp. Sci. professor today... he said that any of those three would work, but he would recommend Java or C++...

    I'm thinking java for ease & simplicity's sake...

Page 1 of 6 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •