1. Welcome! Please take a few seconds to create your free account to post threads, make some friends, remove a few ads while surfing and much more. ClutchFans has been bringing fans together to talk Houston Sports since 1996. Join us!

Intro to computer programming?

Discussion in 'BBS Hangout' started by TraJ, Mar 26, 2005.

  1. TraJ

    TraJ Member

    Joined:
    Aug 13, 1999
    Messages:
    2,089
    Likes Received:
    2
    I'm interested in learning a little bit about programming, but I don't have a clue about where to begin. Does anyone know of a book or a Web site where I can learn the basics of the basics? Do all the programming languages have something in common? What is the difference between them? What can I do with the various programming languages? How do I go about deciding what would be best for me to learn?
     
  2. boomboom

    boomboom I GOT '99 PROBLEMS

    Joined:
    Sep 29, 1999
    Messages:
    12,764
    Likes Received:
    9,413
    It doesn't really matter what language you start with...what matters is that you pick up the structure. Java is a good place to start. It is based solely on objects. If you pick up Java, you'll practically know C++/C. Visual Basic is also a good beginner language. I'm not into web development...so I can't really give you any good info. Any of the books that will teach you a language in 21 days is a good starting reference. The Dummies series is also great reference for starting out.

    Good luck!!!
     
  3. nuggien

    nuggien Member

    Joined:
    Dec 10, 2004
    Messages:
    229
    Likes Received:
    6
    yea, if you write hello world console apps all the time.
     
  4. Rockets2K

    Rockets2K Clutch Crew

    Joined:
    Mar 22, 2000
    Messages:
    18,050
    Likes Received:
    1,271
    I'd have to agree...
    I dont know JAva...but I just recently started learning C+..and it is solely DOS-based(not visual object programming)...if you learn to actually cut code manually...you will have a much better understanding of real programming....none of this click and drag programming...

    you need to learn basic structured programming theory first to learn good programming habits...C+ is a good place to start learning actual coding..powerful...versatile...and not that complicated to get into....plus...there are tons of references out there to get pointers from.
     
  5. LegendZ3

    LegendZ3 Member

    Joined:
    Nov 6, 2002
    Messages:
    4,196
    Likes Received:
    5
    C is probably a good place to start. Java has put a lots of fundamental stuffs away, like pointers, release memory, etc. But Java really helps you a lot when you start object oriented programming. And once you learn Java, it's hard for you to go back to C or C++, it's just so much fun to messing around with Java.

    I started with BASIC, and then moved on to C, Linux Shell, C++, and now Java and JSP. The thing is that once you get the concept, all the language are pretty much the same, just different syntax.
     
  6. Phreak3

    Phreak3 Member

    Joined:
    Mar 6, 2004
    Messages:
    1,720
    Likes Received:
    81
    If I was a beginner, I would start out with Java. Java is more easily understandable when you are trying to learn object oriented programming for the first time. C++ is probably more powerful because it exposes more low level details to the programmer. But for a beginner, that's just going to make the learning curve more difficult. Plus, C++ syntax is really very confusing and not intuitive at all.
     
  7. No Worries

    No Worries Member

    Joined:
    Jun 30, 1999
    Messages:
    32,848
    Likes Received:
    20,634
    What kind of programs do you wish to write?

    For simple windows programs, I would suggest MS VisualBasic or Tcl/Tk.

    For simple nonwindows programs, I would suggest C/C++.

    It all really depends on what you want to do.
     
  8. Frodo

    Frodo Member

    Joined:
    Jan 28, 2003
    Messages:
    241
    Likes Received:
    22
    I totally agree with LegendZ3 here. If you are serious about learning programming, then C would be the first language you should learn. This will give you very solid foundation in programming. Then you can move on to C++/Java for object oriented programming. Java might be easier to learn but it simplifies a lot of things that is going on behind scene and therefore it does not help you understand the fundamentals.
     
  9. RocketsPimp

    RocketsPimp Member

    Joined:
    Feb 15, 1999
    Messages:
    13,812
    Likes Received:
    194
    My Intro to Computer Programming class covered C++. It's a b**** to learn if you have no background in programming, but it's fun when you actually get a program to run correctly.
     
  10. bobrek

    bobrek Politics belong in the D & D

    Joined:
    Sep 16, 1999
    Messages:
    36,288
    Likes Received:
    26,645
    I think you should start with COBOL and that will help you transition into Pascal.
     
  11. boomboom

    boomboom I GOT '99 PROBLEMS

    Joined:
    Sep 29, 1999
    Messages:
    12,764
    Likes Received:
    9,413
    This is a totally ignorant response. If you re-read what TraJ initially questions was about learning the "basics of the basics". While Hello World is not a very intriguing program, it is a great starting point for someone who has never programmed before. While the (programming) world is tunnel-visioned on drag and drop programming and making things as easy as possible...there IS something to be said about starting to learn programming at a low level. All programs are generally console apps. Some run within a windowed environment, while others run from a console window. Knowing something about the environment in which they run will allow anyone to utilize 3GL and 4GLs much better.

    Do not discount that learning C++/Java first will allow you to learn the other. Both languages (syntax-wise) are close enough to one another that once TraJ, or anyone else, picks up the basics, they should be able to dive into the funner (visual) side of development (i.e. Java's visual components, Borland C++ Builder's visual tools, or MS Visual C++'s visual components). For someone starting out, directing them to an "easy" and "sexy" language/compiler might not be the best idea. Building a core foundation of Hello World samples and other simple exercises will only help the speed up the learning process.
     
  12. ShaqHater

    ShaqHater Member

    Joined:
    Mar 11, 1999
    Messages:
    35
    Likes Received:
    0
    Hey, nobody mentioned Fortran yet? :p
     
  13. wizkid83

    wizkid83 Member

    Joined:
    May 20, 2002
    Messages:
    6,347
    Likes Received:
    850
    I learned C++ in high school which should be a good place to start imo. The thing is, I always had trouble visualizing the movement of the code even through out college programming classes. I just don't understand why some commands are the way there are. But after learning a little of different stuff, hardware -> binary - > machine code -> some of the hire level language I understand better now.

    But my advice when learning how to programm is just trust the syntax and languages capabilities. Don't ask too much questions about why it works but just know that it works and you'll get good at programming faster.
     
  14. swilkins

    swilkins Member

    Joined:
    Mar 5, 2003
    Messages:
    7,115
    Likes Received:
    11
    Let me first say that my programming background is geared toward databases (SQL, Oracle, OLAP) for applications (excel, Access) and adhoc web reports (asp/aspx).

    The first language that I used was VB Script/JavaScript from navigating websites for ASP. Once I caught on, I moved into Visual Studio 6 and VBA for MS apps. I then moved on to Visual Studio .NET.

    I have yet to use C anything, because my background is limited to MS applications and data extraction for manipulation and presentation on web pages.

    But that's just me.
     
  15. DarkHorse

    DarkHorse Member

    Joined:
    Oct 9, 1999
    Messages:
    6,752
    Likes Received:
    1,296
    Several people have mentioned that you should learn C or C++ first in order to gain a better understanding of the fundamentals of good programming practices and to get a better handle of what's going on under the hood. But that's only the case if you're seriously thinking about learning and understanding programming.

    If you never intend to gain more than a light knowledge of how programming works, you should probably start with Java. It's very straitforward and relatively simple. You should also go into it with the understanding that Java is designed to hide away a lot of the finer points of programming, and it's extremely structured, but it may be a more friendly introduction.

    But again, it depends on your long-term goals. Java will teach you basic computing logic and everything, but you'll get better fundamentals and have more power if you start with C/C++.

    :)
     
  16. Phreak3

    Phreak3 Member

    Joined:
    Mar 6, 2004
    Messages:
    1,720
    Likes Received:
    81
    Let me just add a couple more things:

    Java is also good because it reinforces a lot of good object oriented programming concepts into the language itself (like having interfaces, abstract classes, etc..). This is great for a beginner learning object oriented programming/design.

    I would actually not start with C. Procedural programming is way different from object oriented programming. If you learn C, you might pick up bad habits about procedural programming that you might not give up when you transition to object oriented programming. And plus, it just might add to the confusion to learn all these different programming models.

    The bottom line, like someone else said, just pick up a book about learning Java in 21 days.
     
  17. DarkHorse

    DarkHorse Member

    Joined:
    Oct 9, 1999
    Messages:
    6,752
    Likes Received:
    1,296
    The only problem I have with this post is the blanket assumption that object orented programming is inhrerently better that procedural or structured programming.

    That's not always the case.

    Maybe he doesn't want to or need to learn object oriented design.
     
  18. LegendZ3

    LegendZ3 Member

    Joined:
    Nov 6, 2002
    Messages:
    4,196
    Likes Received:
    5
    That maybe true for now, but that's only because some hardwares right now are not capable to run OOP programs. But years down the road when all the hardware caught up, OOP is the way to go. Right now OOP is a industrial standard, when you are writing a big program, it will be extremely hard for you pull it off with procedral programming.
     
  19. Rocket104

    Rocket104 Member

    Joined:
    Mar 11, 2001
    Messages:
    898
    Likes Received:
    4
    Naturally, people turn this into Java vs. C++ vs. blah or OOP vs. Procedural...

    TraJ - you said "What can I do...". The answer is pretty much whatever you want, as long as you can describe it. So the better way to decide which language to learn is to ask "What do I want to do?".

    Programming courses at university start with either Java or C++ (or Scheme). The other options are not seen as much. Skip Scheme.

    C++ gets hard-core very fast. This is good if it's what you need.
    People usually say Java is more readable and thus may help you if you're trying to learn on your own.

    The advice I always get is to pick up some books. Surfing the web is also a great option - I always check university CS websites to see if there are helpful lecture materials (or books) to read.

    If you go the book route, here are the ones I've heard great things about:

    Java:
    Java: How to Program by Deitel and Deitel
    Thinking in Java by Bruce Eckel (available for FREE on the web, and it covers a LOT including OOP concepts)

    C++:
    uh... someone help me out here

    C:
    C Programming Language by Kernighan and Ritchie (if you decide to go this route, you'll learn sooooo much it's crazy - very readable book, covers everything you really need to know about programming in ANY language and even down to the nuts and bolts... but it may be daunting for a complete newbie).

    Good luck!
     
  20. boomboom

    boomboom I GOT '99 PROBLEMS

    Joined:
    Sep 29, 1999
    Messages:
    12,764
    Likes Received:
    9,413
    The Deital books are good here too. They do a great job describing objects and how to integrate them into your code.
     

Share This Page

  • About ClutchFans

    Since 1996, ClutchFans has been loud and proud covering the Houston Rockets, helping set an industry standard for team fan sites. The forums have been a home for Houston sports fans as well as basketball fanatics around the globe.

  • Support ClutchFans!

    If you find that ClutchFans is a valuable resource for you, please consider becoming a Supporting Member. Supporting Members can upload photos and attachments directly to their posts, customize their user title and more. Gold Supporters see zero ads!


    Upgrade Now