Python!

Discussion in 'General Software' started by Exfoliate, Jun 16, 2005.

  1. Exfoliate

    Exfoliate Geek Trainee

    Likes Received:
    166
    Trophy Points:
    0
    I thought this looked like an interesting language, there's a ton on this page that I've never heard of. Anyone used it? What'd you think? Thanks.
     
  2. Sniper

    Sniper Administrator Staff Member

    Likes Received:
    59
    Trophy Points:
    63
    I've heard of it but never looked at any code, from the above site it does look quite hard.
     
  3. ThePenguinCometh

    ThePenguinCometh There is no escape

    Likes Received:
    51
    Trophy Points:
    0
    I've no experience with it myself but I've seen it around a lot on various web-sites so it seems to be quite popular. However I did come across this posting once when trying to debug a C program which would suggest that it should really only be used for small, short-lived scripts or programs that don't use dynamic memory and is not suitable for larger applications due to its inability to free memory.
     
    Exfoliate likes this.
  4. Addis

    Addis The King

    Likes Received:
    91
    Trophy Points:
    48
    Yea I've seen it in linux. I've never tried it myself, but for linux/windows the main language seems to be C/C++. It may be good but if i was ot learn another language, it would be either Delphi or ASP/ASP.NET.

    However, from the first page, i realise that its an interpretted language. I don't really like interpreted languages unless they're used as short scripts. Compiled languages run faster.
     
  5. Nic

    Nic Sleepy Head

    Likes Received:
    17
    Trophy Points:
    38
    Yeh I think Dave35k wanted to learn it once, least I think it was him, I dont really know if he bothered to either.
     
  6. ThePenguinCometh

    ThePenguinCometh There is no escape

    Likes Received:
    51
    Trophy Points:
    0
    True but programming languages are basically tools and each tool has its own specific purpose. In Linux, C reigns supreme; the kernel itself and most of the more important, low-level tools are written in C but Python belongs to the same group of interpreted scripting languages as PHP and Perl so in that regard its a popular language and is one important component of the LAMP system. Nobody would think of writing a web-page in C just as nobody would think of writing a device driver in Python.

    Interpreted languages are designed to be used as short scripts, so much so that, as per my last posting on this thread, when Python grew in popularity and developers began to be use it for more than just small server-side scripts, they ran into the problem that Python was never designed to be used as such and the original developers of the language assumed it would only ever be used for scripting. Compiled languages run faster but have much longer development times which is not what you need when all your after is a forty-line script that looks up records in a database.
     

Share This Page