Leraning a programing launguage

Discussion in 'Computers and The Internet' started by shedtroll, Apr 27, 2007.

  1. shedtroll

    shedtroll Peace, Love & Linux

    Messages:
    1,297
    Likes Received:
    0
    OK, so I want to learn to code. BUT I have a dialema...


    Ruby or Python

    I don't know wether to go for Ruby or python. I allready know a bit of python and I'm trying to learn a bit of Ruby.

    Does anyone know witch one's easier/better?
     
  2. dodion

    dodion Member

    Messages:
    5
    Likes Received:
    0
    I've tried both, and both are nice languages.

    I'd recommend python simply because it's more mature; this is my experience after trying both. The syntax of python is nice, and you don't have to write on and on to get something done, contrary to Java. Purely from the perspective of being object oriented, however, I'd say Ruby is superior.

    Of course it also depends on what you're going to use it for. Ruby has gathered quite a following for web programming with Ruby on Rails. Python can be used for it too, but it's also well supported if you want to make applications for OS X, where it's nicely integrated with Objective C. In addition, you can program cell phones on python ( I don't remember the name of this technology just now).
     
  3. raysun

    raysun D4N73_666 4861786f72

    Messages:
    932
    Likes Received:
    10
    both scripting languages have their pro's and cons I started with python now I am wrapping my mind around ruby, both are great ....
    preference to one over the other might depend to what application you want to create or which project you plan to do....
     
  4. Adderall_Assasin

    Adderall_Assasin Senior Member

    Messages:
    1,266
    Likes Received:
    1
    both are good places to start. python is usually prefered to start but i kinda skipped it and went strait to C and C++ so maybe i wouldnt know.

    honestly, i dont like how python or ruby work but i am not trying to deter you from learning. python is a good place to start but just dont stop there. after python it should be fairly easy for you to learn any other language. python is a great way to start.
     
  5. dodger988

    dodger988 Member

    Messages:
    103
    Likes Received:
    0
    Ugh, ugh. Don't start on some sissy language or you'll be a sissy programmer for ever. You need to start on straight C, then learn C++, then Java. Then and only then learn Python, Perl, or Ruby. You should learn the complex languages before you go to something that high level.
     
  6. shaggie

    shaggie Senior Member

    Messages:
    11,504
    Likes Received:
    21
    C is still close to the machine level and has a lot of versatility, even though it's not the easiest thing to learn.

    .
     
  7. dodger988

    dodger988 Member

    Messages:
    103
    Likes Received:
    0
    complex meaning less high level (you have to do more as a programmer). I really need to start clarifying what I mean. :(
     
  8. Adderall_Assasin

    Adderall_Assasin Senior Member

    Messages:
    1,266
    Likes Received:
    1
    that is a good point but not everyone can 'see through the code' so to say.

    if the person is new to understanding the formating of a language then python is a good start. this aproach will allow the programmer to get fast results that he/she can see right away. this is the analytic aproach.

    you can aproach this from the other perspective and say that you should learn how memory management works and how applications relate to core libraries in the OS. this would mean you should learn C or C++ first. this aproach is more conceptual, as in you learn the concepts of programming first.
     
  9. ronald Macdonald

    ronald Macdonald Banned

    Messages:
    1,550
    Likes Received:
    1
    syntax checking, one of the best attributes a programmer can have - when you are leraning c++ you must leran to check everything or your prigram wull nit werk
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice