1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Best language for a smart bot

Discussion in 'General Programming Chat' started by Scotiatek, Aug 27, 2010.

  1. Scotiatek

    Scotiatek Junior Member

    Joined:
    Aug 27, 2010
    Messages:
    102
    Likes Received:
    27
    basically be able to analyze a forum and it and be able to click on posts and get information off them? specify keywords in the website and log this into text format to be sorted/viewed?

    how hard or experienced would a programmer have to be to create something like this but a bit more custom don't want to spill my idea :)
     
  2. smack

    smack Junior Member

    Joined:
    Feb 1, 2010
    Messages:
    182
    Likes Received:
    78
    Occupation:
    Software Engineer/Evil Genius
    Location:
    inside .NET
    that all depends on how well you want it to work.

    conceptually not that hard in a basic form, but if you wanted it to be good that could get interesting depending on how advanced you wanted to be with the post filtering and search criteria.

    visual studio languages leveraged in a windows app do wonders for things like this.
     
  3. Scotiatek

    Scotiatek Junior Member

    Joined:
    Aug 27, 2010
    Messages:
    102
    Likes Received:
    27

    I have a great idea that seems like it would make me alot of $ ;)
     
  4. smack

    smack Junior Member

    Joined:
    Feb 1, 2010
    Messages:
    182
    Likes Received:
    78
    Occupation:
    Software Engineer/Evil Genius
    Location:
    inside .NET
    cool, well good luck with it. :)
     
  5. Mr. Legend

    Mr. Legend Junior Member

    Joined:
    Aug 28, 2010
    Messages:
    105
    Likes Received:
    10
    I would say c# is the best language if you want to create a bot
     
  6. MaDeuce

    MaDeuce Newbie

    Joined:
    Oct 24, 2008
    Messages:
    45
    Likes Received:
    16
    Location:
    Austin, TX
    I'm not being a smartass, but the best language for the job is often the one that you are most comfortable with. If you are starting from scratch (i.e., learning how to program), one thing you might want to look at is the amount of additional software/libraries/etc. that support the specific task you are trying to accomplish.

    For example, I do a lot of scripting with python. There are a ton of libraries that make doing web 'stuff' easier. Examples are curl (get/send http and other requests, manage cookies, post forms, scrape screens, etc.) and beautiful soup which parses XML and XML-like languages. With these two things alone, you do 95% of what most people need to do.

    Another consideration is scripted languages vs. compiled. For all practical purposes, you can probably ignore the efficiency differences that exist between scripted and compiled languages. Productivity is much, much higher with scripted languages for multiple reasons.

    You might also want to consider 'open' languages like C, C++, perl, python, etc., vs. vendor-specific stuff like C#. The beauty of the open stuff is that they are usually easy to move from one OS to another, especially the scripting languages. I have a toolset in python that I can run on windows, unix, linux, whatever, without any changes.

    Not knowing much about what you want to do, I'd point you towards python and perl, with python, in my opinion, being easier for a newb to pickup. I'm sure there's nothing wrong with C#; it's just not something that I'll ever have an interest in picking up.

    Good luck.
     
  7. minute80

    minute80 Regular Member

    Joined:
    Dec 3, 2008
    Messages:
    310
    Likes Received:
    81
    Most bots are written in C# these days, even though I vouch for Java, since it can interpret Javascript with ease.
     
  8. Inter

    Inter Newbie

    Joined:
    Nov 2, 2010
    Messages:
    17
    Likes Received:
    2
    I agree, the best language is the one you are most comfortable in.
    RAD(Rapid Application Development) Languages like vb, c#, delphi etc. are usually the most popular. Since they are easy to use and can develop applications quickly...

    Where as lower level languages like C++ takes a bit more time to code with but can be made alot more streamline/efficient but with how well compilers are built nowadays you would really have to be knowledgable in C++ to make a program more streamline than a RAD compiler and most developers just can't do that.