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

What Programming Language Should I Learn?

Discussion in 'BlackHat Lounge' started by teenmoney, Jan 28, 2009.

  1. teenmoney

    teenmoney Regular Member

    Joined:
    Oct 5, 2008
    Messages:
    387
    Likes Received:
    168
    OK well I am trying to figure out what programming language to learn.

    I am thinking php might be the best. But does anyone use C or C+ to code programs that can be used for online stuff?

    Like if you were going to write a program that would upload articles to AC what would language would you use?

    *note. i am not actually going to write that program. the one on here is great
     
  2. justthinking

    justthinking BANNED BANNED

    Joined:
    Aug 13, 2008
    Messages:
    475
    Likes Received:
    463
    I think PHP would be the wise choice. What languages do you currently know? If you don't know the basics, I think I would start with visual basic. I first learned basic.

    Honestly, if you have time learn machine language. It worked for me. I was more able to understand what was going on easier once I started learning high level programming languages. Just a thought.
     
  3. internetNinja

    internetNinja Junior Member

    Joined:
    Oct 27, 2008
    Messages:
    109
    Likes Received:
    98
    Occupation:
    Internet Marketing
    Location:
    Las Vegas, NV.
    Home Page:
    I have to say PHP is good. You might also want to learn Actionscript, which is what is used by Adobe Flex Builder. A very robust online/offline application environment. Part WYSIWYG and part coding. Kinda like dreamweaver but WAY more powerful. It can be integrated with AJAX, MySQL and other database management and retrieval systems. Check out some of the tutorial videos on Adobe for what can be done with it. It's incredible.
    If you have seen Market Samurai (awesome online marketing tool), that is made with Flex or the off line version of Flex which is called Adobe AIR.
     
  4. bigel

    bigel Junior Member

    Joined:
    Sep 25, 2008
    Messages:
    131
    Likes Received:
    68
    Start with php and javascript if you want to do bh stuff. C++ is great because you can do pretty much anything you want with it. The problem is that its way too big and not efficient for most online programs. Look into python if you want something like an article submitter
     
  5. teenmoney

    teenmoney Regular Member

    Joined:
    Oct 5, 2008
    Messages:
    387
    Likes Received:
    168
    So if all i want to do is create small applications like automating bookmarking, article submission etc python is the way to go not C++?
     
  6. bigel

    bigel Junior Member

    Joined:
    Sep 25, 2008
    Messages:
    131
    Likes Received:
    68
    I think so. Its really all object oriented programming. Once you know one you can pick up the rest quickly, you just have to learn the new syntax. If you have no programming experience dont expect to be able to do anything useful immediately, it takes time and work to learn. I would suggest you start with c++ to learn the basics of OOP just because theres so much written about it. Once you know the basics go for python.
     
  7. The Scarlet Pimp

    The Scarlet Pimp Jr. VIP Jr. VIP Premium Member

    Joined:
    Apr 2, 2008
    Messages:
    787
    Likes Received:
    3,117
    Occupation:
    Chair moistener.
    Location:
    Cyberspace
    php and js would be a good start.
     
  8. crashed

    crashed Jr. VIP Jr. VIP Premium Member

    Joined:
    Aug 13, 2008
    Messages:
    958
    Likes Received:
    1,198
    Occupation:
    Guru-slayer
    Location:
    Behind the VPN...
    Home Page:
    Now the way to go now days is C#, you can get Visual C# express free from Microsoft, and even better you can 1000's of articles on it. I moved to it permently around 3 years ago and have never looked back! It's awesum!
     
  9. teenmoney

    teenmoney Regular Member

    Joined:
    Oct 5, 2008
    Messages:
    387
    Likes Received:
    168
    What kind of programs do you write with it? Little applications like we were talking about before?
     
  10. bigel

    bigel Junior Member

    Joined:
    Sep 25, 2008
    Messages:
    131
    Likes Received:
    68
    Oh yea I cant believe I forgot about C#. I would still start with C++ though
     
  11. simmo

    simmo Registered Member

    Joined:
    Jul 14, 2008
    Messages:
    87
    Likes Received:
    34
    Location:
    UK
    When I'm not wearing my black hat I work full time as a C# developer and it's a great language to work with. Well not just the language but the functionality that is provided in the .NET framework plus I don't think there is a development environment that can touch Visual Studio these days. Another alternative could be VB.NET which is also available as a free express edition from Microsoft since you still have all the power of the .NET framework behind you, although personally I'm far too used to my curly brackets and semicolons to use that these days.

    If you're writing web scripts then I'd say that PHP is the way to go since it is what most web hosts provide you with. Of course if you're writing stuff just for your own use then you could get .NET hosting instead and still use C#/VB.NET but if you were planning to create scripts to sell then PHP would be your best option.
     
  12. crashed

    crashed Jr. VIP Jr. VIP Premium Member

    Joined:
    Aug 13, 2008
    Messages:
    958
    Likes Received:
    1,198
    Occupation:
    Guru-slayer
    Location:
    Behind the VPN...
    Home Page:

    I write anything and everything, the other day I wrote 15 lines of code to scrape the email addresses from 2.1 million webpages and save them to a file.

    I've written websites, bots, scrapers, account creators, financial systems, customer systems. Its a great all rounder as the .Net framework has so much built in functionality it is easy as :D
     
  13. teenmoney

    teenmoney Regular Member

    Joined:
    Oct 5, 2008
    Messages:
    387
    Likes Received:
    168
    So is C# better than C++?

    I was thinking of going with C++ since it is pretty common and seems like it could have a lot of uses... even for quick little applications
     
  14. anbukiller

    anbukiller Registered Member

    Joined:
    Jan 2, 2009
    Messages:
    61
    Likes Received:
    5
    right, but c# has a lot of uses too. in all honesty, if this is your first time learning a programming language, you might want to begin with the basics. i think you will be very confused if you start by building web applications. look into c++ first, learn everything from variables to arrays to functions. once you get a solid understanding of basic programming concepts, switching from language to language is only a matter of learning new syntax and working with different libraries.
     
  15. shade

    shade Junior Member

    Joined:
    Jan 1, 2009
    Messages:
    137
    Likes Received:
    179
    Occupation:
    Job? Whats a job?
    Location:
    America
    Home Page:
    Code:
    <?php
    while($greatestLangaugeEver == PHP) {
         echo "PHP!";
    }
    echo "You will never see this text because of the above infinite while loop:P";
    ?>
    
     
  16. darklegion

    darklegion Regular Member

    Joined:
    Nov 24, 2007
    Messages:
    280
    Likes Received:
    35
    I currently know HTML/CSS and a little of PHP and JS.

    Currently learning C and C++ and once I learn this I will be going all out to master C++/PHP/JS/ other languages.

    Once you know the basics, how the program is set up and the syntax of the program it is easy to learn.

    Also who ever said learning machine code is easy... That is HARD! Machine code is binary numbers. High level language is closer to english.
     
  17. ktop

    ktop Registered Member

    Joined:
    Sep 24, 2008
    Messages:
    91
    Likes Received:
    151
    If you're looking at data extraction => PHP

    If you're looking at auto form-fillers => C# /VB/ VB.NET

    Having a background in C++ gives you an edge for picking up new languages.
     
  18. eshaman

    eshaman Registered Member

    Joined:
    Jan 4, 2009
    Messages:
    77
    Likes Received:
    74
    Go with something modern like COBOL or SMALLTALK. It's the only way to keep up to date with these interwebs. That said, maybe ASSEMBLY would be a bit easier for a noob!

    :)

    ok ok, I would say PHP, it's easy to get to grips with and you'll quickly find yourself with some little scripts that are incredibly useful for your sites.
     
  19. uma4guma

    uma4guma Newbie Premium Member

    Joined:
    Oct 5, 2008
    Messages:
    48
    Likes Received:
    213
    Occupation:
    Internet Marketing
    Location:
    Honolulu, Hawaii
    I've recently started working with Rebol. If you're looking for a simple yet highly effective language you may want to check it out. http://www.rebol.com/
     
  20. crashed

    crashed Jr. VIP Jr. VIP Premium Member

    Joined:
    Aug 13, 2008
    Messages:
    958
    Likes Received:
    1,198
    Occupation:
    Guru-slayer
    Location:
    Behind the VPN...
    Home Page:

    Those were the days, I started my programming using machine code n assembly n rewriting boot loads for Harddisk partitions :)

    Serious i'd start my learning with C# (theres a nice tutorial set here: http://anonymizeit.com/?http://www.functionx.com/csharp/)

    My reasons for saying this are:
    - C# is managed code, that means you've not got to worry about memory allocation, disposable, garbage collection etc. .net takes care of all the nasty bits for you.
    - It is supported across all platorms, you can use mono to also have .Net applications run on linux/mac etc (I could never do that with C++ as some functions were kernal/api specific)
    - C# is more readable, look at the following snippets, which do you understand first?

    C++
    Code:
    cout("Press any key to forget C++");
    cin();
    
    C#
    Code:
    Console.WriteLine("Press any key to forget C++");
    Console.Readkey
    
    - C# can also be used to write the code for web applications, the one im working on now is: http://anonymizeit.com/?http://www.networkology.com - whats the point in learning C++ when u can learn C# and write both desktop + web applications

    - C# can be used with silverlight, for an example of what silverlight can do see: http://anonymizeit.com/?http://www.codeplex.com/videoshow

    If you need more reasons don't hesitate to ask :D
     
    Last edited: Jan 28, 2009