Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
Hey, I have no programming experiences and my long-term goal (for now) is to create a basic IRC bot. I've heard of Python, Perl and TCL and some people have ...
  1. #1
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    474

    Easy programming language - best for IRC bots?

    Hey, I have no programming experiences and my long-term goal (for now) is to create a basic IRC bot. I've heard of Python, Perl and TCL and some people have done this in PHP. Which would be the best and easiest? Also, are there other languages that I might look into and which language will be a good language to use for several purposes?

    Help is appreciated, thanks

  2. #2
    Just Joined!
    Join Date
    Mar 2007
    Posts
    8
    I've never worked with python so I don't know how that would stack up. I've worked with perl a little and have found it a little more difficult to use as an all round language. I work with PHP everyday and when it comes to getting things done with PHP, I think it can do just about anything. Its easy to learn, and you can use perl style regex. I'm sure you'll be able to create you bot fairly easily with it and possibly get hooked on PHP programming in the process.

  3. #3
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    474
    Thanks for the advice!

    Anyone else?

  4. #4
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Location
    Wisconsin
    Posts
    942
    I don't use PHP very often. It's not because I don't like it; rather, I don't get a chance. I use a lot of Perl in my daily system administration, and I've dabbled in Python and Ruby. Perl definitely has the modules at CPAN going for it, but I find it to have a steeper learning curve than Python or Ruby. In the end, it's really personal preference, and if you're going to continue programming, I say you try all three to see which suits you best.
    Flies of a particular kind, i.e. time-flies, are fond of an arrow.

    Registered Linux User #408794

  5. #5
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    474
    Problem I found with Ruby is the lack of documentation. An experienced programmer might not find that a problem but for someone who's starting and looking for tutorials etc...It's not been so easy for me.

  6. #6
    Linux User tech_man's Avatar
    Join Date
    Jan 2007
    Location
    USA
    Posts
    385
    With the "no programming experiences", does that mean that you know how to program, but have no experience? Or does that mean that you have no idea how to program in general?
    'Tis better to be silent and be thought a fool, than to speak and remove all doubt.'
    --Abraham Lincoln

  7. #7
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    I find this one very good for new users with Ruby

    http://pine.fm/LearnToProgram/
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  8. #8
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    474
    Quote Originally Posted by tech_man View Post
    With the "no programming experiences", does that mean that you know how to program, but have no experience? Or does that mean that you have no idea how to program in general?
    It means that I have never tried to program.

  9. #9
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Location
    Wisconsin
    Posts
    942
    This is the book I read:

    http://www.rubycentral.com/book/

    I can't really say how it is for new programmers, seeing as Ruby wasn't my first language, but it seemed to be pretty accommodating.
    Flies of a particular kind, i.e. time-flies, are fond of an arrow.

    Registered Linux User #408794

  10. #10
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    474
    Thanks guys, I have read up some ruby stuff and have managed to create some basic stuff and I created a basic webserver from it localhost on port 7125 Thanks for all the replies and efforts. What I'm doing is I'm doing a bit of Ruby and PHP each day...so learning them together.

Page 1 of 2 1 2 LastLast

Posting Permissions

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