Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Is Visual Basic a Good Beginner's Language?

Posted by Cliff on Tue Mar 07, 2006 04:36 PM
from the would-you-write-"hello-world"-in-it dept.
Austin Milbarge asks: "Ever since the .NET framework came along a few years ago, Microsoft had promised VB developers that their language would finally be taken seriously. To be honest, I never understood why some non-VB developers thought of VB as a 'toy' language, but that is for another article. Anyways, Microsoft made good on their promise and transformed VB from an easy to learn language into an object oriented power house, with lots of OOP functionality thrown in. The old VB has been discontinued, and the new VB is no longer a simple language. With all the fancy changes, is VB still the great beginner's language it once was? Would you recommend it to a beginner over C#?"
This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
(1) | 2 | 3
  • Why not both? by Anonymous Coward (Score:2) Tuesday March 07 2006, @04:37PM
    • Re:Why not both? by ROBOKATZ (Score:1) Tuesday March 07 2006, @05:00PM
      • Re:Why not both? (Score:4, Interesting)

        by eric76 (679787) on Tuesday March 07 2006, @06:25PM (#14870862)
        One of the lead computer people at one of the major oil companies told me once that all that their Visual Basic programmers do is to write meaningless little programs that noone ever uses.

        He seemed to think that hiring Visual Basic programmers was a complete waste of money.
        [ Parent ]
        • Re:Why not both? by NiteShaed (Score:3) Tuesday March 07 2006, @06:52PM
        • Re:Why not both? (Score:5, Insightful)

          by Phisbut (761268) <.moc.liamtoh. .ta. .ellicremf.> on Wednesday March 08 2006, @10:51AM (#14875420)
          Disclaimer : My experience with VB stops at VB6. I have steered away from all that .NET stuff since then.

          I may sound old-school, and then maybe I am, but "programming" and "writing a program" seem like two different things to me. If all you want to do is write programs, then I think about any high-level language could be appropriate because programs can be written in any language and high-level ones hide all the ugly computer part from the programmer.
          However, if you want to learn to program, then you need some serious commitment, and you need to learn (or at least understand) assembly language, and then work with C or C++ or a language that actually lets you play with bits and bytes.

          One of the lead computer people at one of the major oil companies told me once that all that their Visual Basic programmers do is to write meaningless little programs that noone ever uses.

          VB is a quite high-level language, and is easy to learn (or at least fiddle with). That lead to a whole bunch of VB coders who pretends they are programmers because they can write programs. However, all they do is write lines after lines of VB code (and most of it is *click* *click* *click* through the UI), with no understanding whatsoever of what is really going on when the program runs. It is really nice when, with little effort, a program can be made and performs the desired operation. However, when a bug arises, those coders that don't understand the low-level stuff might not understand the source of the bug (and then sometimes blame it on someone else), and therefore can't debug their own application.

          Every programming language is a tool, and when a job needs be done, one should use the best tool for the job. I suppose there are some jobs for which VB is the best tool. However, when someone claims to be a programmer and only knows VB, chances are he doesn't program, he just knows where to click to create a dialog with some buttons. If he knows VB and C++, Java, PHP, Perl, Python, etc., he's more likely to understand what he does, and will probably write a good VB program if he needs to.

          Know your needs and know your wants. If you want to learn how to program, don't choose a language that will hide all the ugly stuff from you, because you need to know about the ugly stuff.

          [ Parent ]
        • Re:Why not both? by skept (Score:1) Wednesday March 08 2006, @12:56PM
        • Re:Why not both? by JimatBoltonUniUK (Score:1) Thursday March 09 2006, @05:44AM
      • Re:Why not both? by skept (Score:1) Wednesday March 08 2006, @01:45PM
    • Re:Why not both? (Score:5, Informative)

      code looks almost identitical

      There is a lot of devil in the details of that almost, however. C# has developer API comments yet VB.NET does not. VB.NET has more support for shadowing than C#. C# has useful convenience functions like using that VB.NET does not. VB.NET has convenience functions for late binding (considered harmful) and case-insensitive string comparisons that C# does not. C# has more object oriented features such as operator overloading that VB.NET does not. The list goes on and on.

      [ Parent ]
      • Re:Why not both? (Score:5, Informative)

        by Samus (1382) on Tuesday March 07 2006, @06:34PM (#14870929)
        (Last Journal: Thursday December 18 2003, @09:07PM)
        Time to update to .net 2.0. A lot of the discrepencies that you mention are now gone.
        [ Parent ]
        • Re:Why not both? (Score:5, Interesting)

          by lrichardson (220639) on Tuesday March 07 2006, @10:00PM (#14872162)
          (http://slashdot.org/)

          I hate to jump on the Java/VB/C/C++ lovefest, but the question was about a teaching language.

          Why not something simple - like Pascal? Basic? A step up, but COBOL?

          Yes, there are advantages to learning a language like C++ that you will end up using, but it's not necessarily the best approach.

          One of the biggest complaints I have about a lot of the VB and C++ programmers I've been exposed to is a complete lack of fundamentals. Code that works, but sucks because they never bother to think of the background stuff ... memory, performance to name two. Multithreading is not a topic to start beginners on.

          OTOH, how many people here can take the Nth root of a number by hand? At some point, you have to accept that automation is here stay. The first time I hit VB, after doing a large project in CICS, I was really happy. Tons of things that were a royal pain became relatively painless. Then the downside ... performance sucks compared to CICS. Database interface sucked. Debugging really sucked. Generally, I like having my code in one place, not scattered over screens, buttons, rollovers ...

          Things are better now. SQL/SQL Server work really well together. A proper front end in some tools can be done FAST and painlessly (e.g. Brio (Now Hyperion Intelligence, to better play with the faster database around!)

          I've seen a couple of multi-hundred-million dollar projects die, because of innappropriate choice of languages (VB for one, VC++ the other). But management bought into the argument New=Better.

          Personally, I think C++ is a horrible choice as a starter language. Then again, I started on a virtual assembler language, designed strictly for teaching. Kinda like Pascal.

          [ Parent ]
        • 1 reply beneath your current threshold.
      • Re:Why not both? by jbplou (Score:3) Tuesday March 07 2006, @10:25PM
      • Re:Why not both? by firl (Score:1) Wednesday March 08 2006, @01:36AM
      • Re:Why not both? by Shaper_pmp (Score:3) Wednesday March 08 2006, @06:05AM
    • Re:Why not both? (Score:5, Insightful)

      by Durandal64 (658649) on Tuesday March 07 2006, @06:18PM (#14870826)
      It depends on what you're trying to teach the person. If you want to teach someone how to write programs using programming languages, then yes, things like VisualBasic will probably be good starting points. But if you want to teach someone the fundamentals of computer programming, including proper memory management, efficient use of resources and how the compiler is going to see the human-readable code, then I think that C is still the best introductory programming language out there.

      Basically, I'm saying that students of computer science shouldn't start off with VisualBasic. But if you're a hobbyist or a network engineering type who needs to be able to write working scripts and stuff like that, sure, VisualBasic is as good as any other ultra-high-level language, I suppose.
      [ Parent ]
      • Re:Why not both? by cybergenius1 (Score:2) Tuesday March 07 2006, @07:02PM
      • Re:Why not both? (Score:5, Interesting)

        by I'm Don Giovanni (598558) on Tuesday March 07 2006, @11:08PM (#14872441)
        C?? Pleas...

        If you want to learn the *fundamentals* of programming, Structure and Interpretation of Computer Programs is the best book I've seen, and it deals not at all with "memory management", "efficient use of resources", or other archane crap (since it uses Scheme :p). The issues that you're talking about are becoming more and more irrelevant, just as machine-language programming did (for 99.9999% of source code).

        Not that Scheme itself is used much beyond the academic. But a lot if its ideas are showing up in modern programming platforms that are much in use (memory management, closures, etc). I wouldn't tout scheme as a "beginning programming language" but I'd tout it as a "programming language to learn the fundamentals of programs for a potential CS major". I'd tout C for neither.
        [ Parent ]
        • Re:Why not both? (Score:4, Insightful)

          I disagree. For many programming tasks, you are perhaps correct- but I still don't think computers have advanced enough so that a few lines in Scheme or [insert language of your choice] will make an operating system.

          Let alone an efficient operating system. You're not going to learn the fundamentals of programming from a language that does it all for you. Java, Scheme (apparently), Visual Basic.. There are *concepts* that you need to take away from things like manual memory management. Do you think these features magically appear in a language?

          Learning assembly went a long way towards my being able to understand how to optimize code in a way that makes sense, since it's going to be converted to assembly at some point. If I had never used a language lower-level than C, at best I might have understood this after years of trial-and-error. I shudder to imagine trying to learn to optimize code from using something like Java.

          Your basic argument seems to be that the fundamentals of computer science aren't relevant anymore because there are programming languages that abstract the user from them; this is akin to saying that you don't need to know how addition and subtraction work because we have calculators.

          Seems silly when you put it in terms that you're familiar with, doesn't it? And besides that, someone has to make the calculators.
          [ Parent ]
      • Re:Why not both? by tubs (Score:1) Wednesday March 08 2006, @03:42AM
      • This is crap. (Score:5, Informative)

        by sultanoslack (320583) on Wednesday March 08 2006, @06:47AM (#14873864)

        Sorry, but this is a very wrong view of what computer science or programming really are. There are three things being mixed up here which are largely separate bodies of knowledge and any decent computer science program separates them out as such.

        • Algorithms - This is the core of Computer Science; learning to think like a programmer and to break problems down into logical chunks is tantamount to becoming a computer scientist. With this at the core, a language should then be chosen that most facilitates this. When I started college 10 years ago we used Pascal in our lab for our algorithms courses (which notably were just about implementing the theory we covered in the course), and that at the time was a very sane choice. Java's a pretty sane choice these days. Lots of things are really, but something like C forces people trying to learn how to think in algorithms to be side tracked by all of the tedious low level junk. (For reference, I'm a low-level C systems programmer at a large software company, so this isn't some "C sucks" wankery.)

        • Computer Organization - This is usually cross listed in electrical or computer engineering, and for good reason. This is where you figure out how hardware works. C and assembler (RISC works fine here) are appropriate in such a course. As this course naturally follows introductory algorithms courses, you can here put the theoretical constructs learned there in context.

        • Operating Systems - Memory management doesn't belong in either of the above and certainly saying that you learn "memory management" with C is pretty silly. You learn how to malloc and free stuff. Whoopee. "Memory management", in any sort of interesting way, is better treated in an Operating Systems course where you can track what exactly is happening down from the programming language, into the OS and finally at the hardware side. It can be put in context of what actually happens when you call malloc and what that means. Fundamentally, you don't understand anything more about memory management from a basic C course than if somebody tells you in a Java course "When you use 'new' some memory will be allocated, and when you're done with that object there's a thing called a garbage collector that will eventually come and give that memory back." Memory management is a non-trivial topic and one that certainly goes deeper than simple allocation.

        So, is VB suitable for any of this? Not really. VB is kind of orthogonal. Like you said, it's fine for someone who needs to solve certain sets of tasks, but doesn't want or need to bother with really understanding deeper concepts.

        [ Parent ]
        • Re:This is crap. by HFh (Score:2) Wednesday March 08 2006, @07:42AM
        • Re:This is crap. by Ted Stoner (Score:3) Wednesday March 08 2006, @11:58AM
        • Re:This is crap. by Durandal64 (Score:3) Thursday March 09 2006, @12:09AM
          • Pointers by jaywee (Score:1) Thursday March 09 2006, @09:06PM
            • Re:Pointers by poopdeville (Score:1) Friday March 10 2006, @11:06PM
    • choose a good teacher first (Score:4, Interesting)

      by sampas (256178) * on Tuesday March 07 2006, @06:19PM (#14870832)
      Actually, Java and C# have nearly identical syntax. I would suggest learning Object-Oriented to start, and concentrating on what OO is, rather than all the power of a specific language. OO is definitely the future, but many people who transition from procedural or don't learn the power of objects from the beginning just use Java or C# as procedural languages.

      I have found that in programming, taking a class will cut down on the time spent banging your head against the wall because there's someone to answer your questions, even if they're stupid newbie questions. Programming teachers are usually far more responsive than other teachers (systems analysis, database, e.g.) because it's more practical.

      If you're just learning how to program, I wouldn't worry about pointers immediately. Visual Basic is powerful in that you can write applications quickly and learn really fast.

      Visual Basic: Schneider [amazon.com]

      Java: Barker [amazon.com]

      C#: Barker [amazon.com]

      Whatever your choice, there are free IDE's for all this now from Sun [sun.com] and Microsoft [microsoft.com], and part of learning will be learning how to navigate the IDE. It's a great time to learn to program.

      Where I live, people can't find enough VB or C# programmers, and not enough Java programmers with a security clearance. Before you buy the hype of the next great programming language, check out the want ads on Monster or Dice and see what people need now.

      And remember, the highest-paid programmers (not team leaders)still write COBOL for Mainframes, because nobody else knows how to do this, and the big companies still can't get all their systems off of them.
      [ Parent ]
    • Re:Why not both? by theStorminMormon (Score:2) Tuesday March 07 2006, @06:26PM
    • Java snobs? (Score:5, Funny)

      by PhYrE2k2 (806396) on Tuesday March 07 2006, @07:40PM (#14871437)
      for those of you C++/Java snobs that think VB/C# are for morons


      Please don't associate those Java users with us C++ (and C for the procedural of us) users.
      *shudders* I feel so dirty.
      [ Parent ]
      • Re:Java snobs? (Score:4, Interesting)

        by moro_666 (414422) <martin.vision@ee> on Wednesday March 08 2006, @03:40AM (#14873294)
        (http://www.slashdot.org/)
        I think nowadays more than 50% of java coders dont know much about c++. althrough they would manage to write simpler stuff in c++ just by the guts.

          And anyone who's a serious C++/Java programmer doesn't think that C# is for morons, it's just a bit different, but still the same thing. The overall technique to write in the language is still the same, there are just some lexical and some structural differences, but they are not as different as basic and lisp.

          It's just the disgusting aftertaste of "pay microsoft a lot to run this faster than mono can do" that quite many people don't like. Mono is on the right path with it's evolution, but it's still not comparable in the terms of speed to microsoft's own platform or to java on any other system. C++ is not being interpreted and jitted so we can skip it in this section.

          My vision is that they are all usable languages, you should just use them dependantly from the context, i prefer java because of the cost and portability for now. But if C# get's faster on *nix platforms and matures a bit, i'm sure a lot of people will use it and nobody will call them morons.

          I hate the ignorant snobs who think that people who use more portable solutions automatically define C#'rs as morons.
        [ Parent ]
        • Re:Java snobs? by Jesus_666 (Score:2) Wednesday March 08 2006, @07:46AM
          • Re:Java snobs? by orderb13 (Score:1) Wednesday March 08 2006, @11:31AM
    • Re:Why not both? (Score:4, Interesting)

      by Beowulf_Boy (239340) on Tuesday March 07 2006, @11:40PM (#14872557)
      I learned 4 other languages before I learned VB. I was rather suprised at how powerful it really was. I had been told all along "VB is for idiots, blah blah blah", and then I took a GUI programming class, and the langauge we used to write our little example GUIs in was VB. It was amazing how quickly I could get a nice looking application up and running and doing something useful.

      BUT. If you want a an easy to learn, object oriented langauge, I VERY highly recommend python. Its not incredibly speedy (there are libraries out there to speed it up), since its an interpreted language, but getting real things done very soon is extremely easy.

      I am a gaming and simulation major at a small university, and the first langauge the freshman learn is python, then the second quarter they learn C. Python spoils them, quite frankly. Thankfully, I learned C first, then C++, java, and then python, but I have to say, given a choice as to which langauge I would use for any given console application (I have yet to do GUI with python), hands down it would be python.

      I was the only one in my algorithims class that knew python, when I took the class. Other students were extremely jelous that I could more or less type in the pseudo code off the board and have a working program, where as it would take them hours to get an algorithim functioning properly in C or Java.
      [ Parent ]
    • Start with VBA by Nefarious Wheel (Score:2) Wednesday March 08 2006, @01:18AM
    • Re:Why not both? by indyweb (Score:1) Wednesday March 08 2006, @06:50AM
    • Re:Why not both? by humblecoder (Score:2) Thursday March 09 2006, @11:02PM
    • Re:Why not both? by AKAImBatman (Score:2) Tuesday March 07 2006, @05:09PM
      • Re:Why not both? by 77Punker (Score:2) Tuesday March 07 2006, @05:12PM
        • Re:Why not both? (Score:5, Interesting)

          Rapid Application Development. Tools like Visual Basic and other 4GL langauges [wikipedia.org] were intended to improve software development speed and accuracy by providing tools whereby the computer automatically did as much of the work as possible. The most common type of RAD tool was GUI Builders like Visual Basic. (Though there were quite a few for database development, networking, gaming, and other areas.)

          The primary issue with such tools is that they tend to fail spectacularly as soon as they get outside their intended area of use. Visual Basic, for example, came along just in time to be abused for Client/Server development. Since VB wasn't designed with networking in mind, it was often faster and easier to do the code in C (and later Java). VB's life as a GUI front-end was extended thanks to the ability to link in COM+/ActiveX controls for more complex tasks, but GUIs eventually morphed into far more complex variants that the GUI Builder couldn't easily support. (Ever notice how you can spot a Visual Basic application visually?)

          At that point, most serious programmers realized that they were taking longer to hack VB to do what they wanted rather than just coding it from scratch in another language. So they gave up on it and moved back to C/C++/Delphi and the new-kid-on-the-block, Java.
          [ Parent ]
      • Yup. by autopr0n (Score:2) Tuesday March 07 2006, @06:38PM
      • benchmarks prove snobs don't know threads by GunFodder (Score:3) Tuesday March 07 2006, @11:57PM
    • Re:Why not both? by Nutria (Score:2) Tuesday March 07 2006, @05:16PM
    • Re:Why not both? by Clockwurk (Score:2) Tuesday March 07 2006, @09:21PM
    • 1 reply beneath your current threshold.
  • No. by neoform (Score:2) Tuesday March 07 2006, @04:37PM
    • Re:No. by hexghost (Score:3) Tuesday March 07 2006, @04:39PM
      • Re:No. by ObsessiveMathsFreak (Score:3) Tuesday March 07 2006, @04:41PM
        • Re:No. by RetroGeek (Score:2) Tuesday March 07 2006, @04:58PM
          • Re:No. by ObsessiveMathsFreak (Score:3) Tuesday March 07 2006, @05:10PM
            • Re:No. (Score:5, Insightful)

              by Rei (128717) on Tuesday March 07 2006, @05:26PM (#14870384)
              (http://www.cursor.org/)
              I agree. I would recommend:

              1. (Insert favorite *simple* language here): simple meaning that you can't do much with it, and what you can do is very easy and obvious. Qbasic comes to mind, as that's what I learned with, but there are many which fit the bill.

              2. C: Turn the language from a magical tool that does what you want (poorly) into something that actually reflects the underlying architecture. Helps the programmer understand why their previous language performed so badly. Widely used (and mimicked), so they know a useful language.

              3. C++: Now that they understand what's going on under the hood, teaches them good coding habits - objects which clean up their own memory, const variables, object oriented programming, generic programming, etc. Widely used (and mimicked)

              4. Any other language(s) here: they already know the basic concepts, so it's just implementation details.

              You *could* have them branch out at any other stage, assuming that they've already learned the prerequisites. For example, once they've just learned to program (#1), they could do basic python. They won't be able to write maintainable or fast code, however. If that's not a problem, power to them!

              I haven't used VB since Windows 3.1. I understand it's really changed ;) Back then, I wrote a pi calculator in VB. It ran half as fast as the equivalent program in Qbasic. That's really saying something; I dropped VB as soon as I saw that.
              [ Parent ]
              • Re:No. by SnapShot (Score:2) Tuesday March 07 2006, @06:19PM
              • Re:No. by Nataku564 (Score:2) Tuesday March 07 2006, @07:32PM
              • Re:No. by dreemernj (Score:1) Tuesday March 07 2006, @08:06PM
              • Re:No. by Zeussy (Score:1) Wednesday March 08 2006, @02:25AM
              • Re:No. by Hosiah (Score:2) Wednesday March 08 2006, @02:40AM
              • Re:No. by JulesLt (Score:2) Wednesday March 08 2006, @03:45AM
              • Re:No. by ajwitte (Score:1) Tuesday March 07 2006, @09:16PM
              • Re:No. by DahGhostfacedFiddlah (Score:1) Tuesday March 07 2006, @09:16PM
              • Re:No. by Nataku564 (Score:2) Tuesday March 07 2006, @11:35PM
              • Re:No. by Nataku564 (Score:2) Tuesday March 07 2006, @11:38PM
              • Re:No. by EnderWiggnz (Score:2) Wednesday March 08 2006, @12:19AM
              • Re:No. by Fjornir (Score:1) Wednesday March 08 2006, @01:22AM
              • Re:No. by Nick Gisburne (Score:1) Wednesday March 08 2006, @04:29AM
              • Re:No. by maxwell demon (Score:1) Wednesday March 08 2006, @07:41AM
              • Re:No. by DarkProphet (Score:2) Wednesday March 08 2006, @10:25AM
              • Re:No. by Nataku564 (Score:2) Wednesday March 08 2006, @07:07PM
              • Re:No. by Nataku564 (Score:2) Wednesday March 08 2006, @07:54PM
              • Re:No. by DarkProphet (Score:2) Thursday March 09 2006, @05:52PM
              • Re:No. by Nataku564 (Score:2) Thursday March 09 2006, @08:12PM
              • 1 reply beneath your current threshold.
            • Re:No. by Omkar (Score:2) Tuesday March 07 2006, @09:14PM
          • Re:No. by suitepotato (Score:1) Tuesday March 07 2006, @08:57PM
            • Re:No. by CarpetShark (Score:2) Wednesday March 08 2006, @02:32AM
        • Re:No. by redalien (Score:1) Tuesday March 07 2006, @06:32PM
      • Re:No. by AKAImBatman (Score:3) Tuesday March 07 2006, @05:00PM
        • Re:No. by LordKazan (Score:2) Tuesday March 07 2006, @05:04PM
        • Re:No. by walt-sjc (Score:3) Tuesday March 07 2006, @05:05PM
          • Re:No. by AKAImBatman (Score:2) Tuesday March 07 2006, @05:37PM
            • Re:No. (Score:5, Interesting)

              by PeterBrett (780946) on Tuesday March 07 2006, @07:23PM (#14871312)
              (http://peter-b.co.uk/)

              All fresher Engineers here (Cambridge, UK) have to learn to program 8086 assembler. Except they don't get an assembler, they have to enter the program using a hex keypad on the front panel.

              Yes, in 2006. And no, I'm not joking, I did it last term.

              [ Parent ]
              • Re:No. by clodney (Score:1) Tuesday March 07 2006, @08:03PM
              • Perfect by joss (Score:2) Wednesday March 08 2006, @05:36AM
              • Re:No. by Butterspoon (Score:1) Wednesday March 08 2006, @06:37AM
              • Re:No. by Reservoir Penguin (Score:1) Wednesday March 08 2006, @07:18AM
              • Re:No. by PeterBrett (Score:2) Wednesday March 08 2006, @06:39PM
              • 1 reply beneath your current threshold.
            • Re:No. by walt-sjc (Score:2) Tuesday March 07 2006, @08:46PM
        • That's why Python rocks for beginners, by loqi (Score:2) Tuesday March 07 2006, @05:56PM
        • Re:No. (Score:4, Insightful)

          by gnuLNX (410742) on Tuesday March 07 2006, @06:11PM (#14870749)
          (Last Journal: Thursday October 02 2003, @06:12AM)
          "I only wish we still had command line interpreters around. It was so nice when beginners could execute their instructions directly OR add them to a program. It made playing around and learning so much quicker."

          at the command prompt type: python

          BTW I think Python is without a doubt the best language to teach a begginer with.
          [ Parent ]
          • Re:No. by Hott of the World (Score:1) Tuesday March 07 2006, @06:49PM
            • Re:No. by jericho4.0 (Score:2) Tuesday March 07 2006, @09:30PM
            • Re:No. by rick446 (Score:1) Tuesday March 07 2006, @10:27PM
            • Re:No. by An Onerous Coward (Score:2) Tuesday March 07 2006, @10:51PM
              • Re:No. by An Onerous Coward (Score:2) Tuesday March 07 2006, @10:53PM
              • 1 reply beneath your current threshold.
          • Re:No. by Wolfrider (Score:2) Tuesday March 07 2006, @08:41PM
          • Re:Python by VoltageX (Score:2) Wednesday March 08 2006, @02:11AM
          • Re:No. by HappyHead (Score:2) Wednesday March 08 2006, @10:38AM
            • Re:No. by bensch128 (Score:1) Thursday March 09 2006, @10:16AM
          • Re:No. by labratuk (Score:2) Wednesday March 08 2006, @10:56AM
        • Re:No. by largenumber (Score:1) Tuesday March 07 2006, @06:11PM
        • Re:No. by Watson Ladd (Score:2) Tuesday March 07 2006, @06:13PM
        • Re:No. (Score:5, Insightful)

          by Decaff (42676) on Tuesday March 07 2006, @06:32PM (#14870910)
          Once they get to the point where they start prefixing every function with a module name, then its time to introduce them to OOP and Java.

          I disagree. This is the wrong way to introduce OOP, as it treats it as some sort of high level way of managing code rather than as a fundamental technique that can be used at all levels. My view is that the best way is to teach something like Smalltalk or Ruby initially in a procedural style, and then show that everything in the language is an object, with methods and properties. Then, perhaps, the compromises made in a language like Java can be explained. One thing that should definitely be avoided is C - for goodness sake teach a safe language like Pascal instead. Beginners should not be dealing with pointers to memory (most developers never need to anyway).

          OOP needs to be taught at the start, not as an optional add-on.
          [ Parent ]
          • Re:No. by SanityInAnarchy (Score:2) Tuesday March 07 2006, @06:48PM
          • Re:No. by PitaBred (Score:2) Tuesday March 07 2006, @07:00PM
            • Re:No. by Decaff (Score:3) Tuesday March 07 2006, @09:15PM
              • Re:No. by danielk1982 (Score:1) Tuesday March 07 2006, @10:40PM
              • I disagree by selfdiscipline (Score:2) Tuesday March 07 2006, @10:59PM
              • Re:No. by Decaff (Score:2) Tuesday March 07 2006, @10:59PM
              • Re:I disagree by Decaff (Score:2) Tuesday March 07 2006, @11:15PM
              • Re:I disagree by selfdiscipline (Score:2) Tuesday March 07 2006, @11:41PM
              • Re:I disagree by leenks (Score:1) Tuesday March 07 2006, @11:47PM
              • c# by selfdiscipline (Score:2) Tuesday March 07 2006, @11:52PM
              • Re:I disagree by Decaff (Score:2) Tuesday March 07 2006, @11:57PM
              • Re:c# by Decaff (Score:2) Wednesday March 08 2006, @12:00AM
              • Re:No. by Mattintosh (Score:2) Wednesday March 08 2006, @12:01AM
              • Re:No. by danielk1982 (Score:1) Wednesday March 08 2006, @12:44AM
              • Re:c# by selfdiscipline (Score:2) Wednesday March 08 2006, @12:45AM
              • Re:No. by Mattintosh (Score:2) Wednesday March 08 2006, @01:22AM
              • Re:No. by danielk1982 (Score:1) Wednesday March 08 2006, @01:31AM
              • Re:No. by danielk1982 (Score:1) Wednesday March 08 2006, @01:36AM
              • Re:I disagree by Trinn (Score:1) Wednesday March 08 2006, @01:37AM
              • Re:I disagree by Decaff (Score:2) Wednesday March 08 2006, @07:24AM
              • Re:No. by Jesus_666 (Score:2) Wednesday March 08 2006, @08:09AM
              • Re:No. by Quintessentially (Score:1) Thursday March 09 2006, @01:40PM
          • Re:No. by Anonymous Brave Guy (Score:2) Tuesday March 07 2006, @10:17PM
            • Re:No. by Decaff (Score:2) Tuesday March 07 2006, @10:30PM
              • Re:No. by Anonymous Brave Guy (Score:2) Wednesday March 08 2006, @03:02PM
              • Re:No. by Decaff (Score:2) Wednesday March 08 2006, @03:25PM
              • Re:No. by Anonymous Brave Guy (Score:2) Wednesday March 08 2006, @06:23PM
              • Re:No. by Decaff (Score:2) Wednesday March 08 2006, @06:37PM
          • Re:No. by danielk1982 (Score:1) Tuesday March 07 2006, @10:20PM
            • Re:No. by Decaff (Score:2) Tuesday March 07 2006, @10:37PM
              • Re:No. by petermgreen (Score:2) Wednesday March 08 2006, @02:46PM
              • Re:No. by Decaff (Score:2) Wednesday March 08 2006, @03:17PM
          • Re:No. by TigerNut (Score:2) Wednesday March 08 2006, @12:08AM
            • Re:No. by Decaff (Score:2) Wednesday March 08 2006, @12:17AM
            • Exactly by NMZNMZNMZ (Score:1) Wednesday March 08 2006, @12:38AM
        • Re:No. by Ruie (Score:2) Tuesday March 07 2006, @06:46PM
        • Re:No. by anomalous cohort (Score:2) Tuesday March 07 2006, @06:51PM
          • 1 reply beneath your current threshold.
        • Re:No. by thetoastman (Score:1) Tuesday March 07 2006, @06:51PM
        • Re:No. by Polar27 (Score:1) Tuesday March 07 2006, @06:55PM
          • Re:No. by Danga (Score:2) Tuesday March 07 2006, @08:18PM
            • Re:No. by Danga (Score:1) Tuesday March 07 2006, @08:31PM
        • Re:No. by Topherbyte (Score:1) Tuesday March 07 2006, @07:15PM
        • Re:No. by Anonymous Coward (Score:1) Tuesday March 07 2006, @07:16PM
        • Re:No. by Elektroschock (Score:2) Tuesday March 07 2006, @08:20PM
        • Re:No. by rk (Score:2) Tuesday March 07 2006, @09:10PM
        • Re:No. by jericho4.0 (Score:2) Tuesday March 07 2006, @09:25PM
        • Re:No. by jgrahn (Score:1) Wednesday March 08 2006, @04:46PM
        • Re:No. by Decaff (Score:2) Tuesday March 07 2006, @09:29PM
        • 2 replies beneath your current threshold.
      • Re:No. by sbrown123 (Score:2) Tuesday March 07 2006, @09:59PM
      • Re:No. by chthon (Score:2) Wednesday March 08 2006, @03:12AM
      • Re:No. by try_anything (Score:2) Wednesday March 08 2006, @04:57AM
    • Re:No. by bateleur (Score:2) Tuesday March 07 2006, @04:43PM
      • Re:No. by neoform (Score:3) Tuesday March 07 2006, @04:54PM
        • Re:No. by bateleur (Score:2) Tuesday March 07 2006, @04:58PM
          • Re:No. by neoform (Score:2) Tuesday March 07 2006, @05:03PM
            • Re:No. by DahGhostfacedFiddlah (Score:1) Tuesday March 07 2006, @09:21PM
          • Re:No. by PitaBred (Score:2) Wednesday March 08 2006, @04:02PM
            • Re:No. by bateleur (Score:1) Wednesday March 08 2006, @04:34PM
        • Re:No. by An Onerous Coward (Score:2) Tuesday March 07 2006, @11:08PM
          • Re:No. by HFh (Score:1) Wednesday March 08 2006, @08:07AM
      • Re:No. by kuzb (Score:3) Wednesday March 08 2006, @12:59AM
      • 2 replies beneath your current threshold.
    • Re:No. by ampathee (Score:1) Tuesday March 07 2006, @04:51PM
    • On the other hand.... by Anonymous Coward (Score:1) Tuesday March 07 2006, @04:51PM
    • OK I'll Bite by GQUEUE (Score:2) Tuesday March 07 2006, @04:53PM
    • Re:No. by chasingporsches (Score:3) Tuesday March 07 2006, @04:54PM
    • Re:No. Well, Yes by AngelofDeath-02 (Score:1) Tuesday March 07 2006, @04:55PM
    • Re:No. by in10se (Score:2) Tuesday March 07 2006, @04:58PM
      • Re:No. by Tacvek (Score:1) Tuesday March 07 2006, @05:16PM
    • Re:No. by GWBasic (Score:1) Tuesday March 07 2006, @05:10PM
    • Re:No. by Morpeth (Score:2) Tuesday March 07 2006, @05:14PM
    • 1 reply beneath your current threshold.
  • Bad idea by 77Punker (Score:2) Tuesday March 07 2006, @04:38PM
    • Try COBOL by Chapter80 (Score:2) Tuesday March 07 2006, @04:51PM
      • Re:Try COBOL by 77Punker (Score:3) Tuesday March 07 2006, @05:02PM
        • Re:Try COBOL (Score:4, Insightful)

          by jaydonnell (648194) on Tuesday March 07 2006, @06:25PM (#14870863)
          (http://www.soulcast.com/jay)
          I don't believe I was a good programmer until I learned NOT to think like a computer. High level languages let you accomplish a great deal with very clear and concise code, but it is hard to write clean code if you look at a problem and try to solve it by thinking "what does the computer need to do". Making functions that take an input and generate a specified output is easy. Making them faster isn't too hard either. Making code that is easy to understand, debug, change, and maintain is the hard part. I don't believe learning assembly and thinking like a computer helps much in this area. This doesn't mean that learning assembly isn't a good thing, it means that it's not a high priority in my mind.
          when I say programmer I mean someone who designs and writes applications.
          [ Parent ]
          • Re:Try COBOL by 77Punker (Score:2) Tuesday March 07 2006, @06:39PM
          • Re:Try COBOL by covertbadger (Score:2) Tuesday March 07 2006, @07:24PM
            • Re:Try COBOL by jaydonnell (Score:2) Tuesday March 07 2006, @08:21PM
          • Re:Try COBOL by glyphi (Score:1) Tuesday March 07 2006, @07:40PM
          • Re:Try COBOL by aug24 (Score:2) Wednesday March 08 2006, @06:38AM
          • 1 reply beneath your current threshold.
        • Re:Try COBOL by GlassHeart (Score:2) Tuesday March 07 2006, @06:56PM
        • Optimisations; gcc compiles to asm; lack of ctrl? by PhYrE2k2 (Score:2) Tuesday March 07 2006, @07:56PM
        • Re:Try COBOL by rblum (Score:2) Tuesday March 07 2006, @09:07PM
        • 1 reply beneath your current threshold.
      • Re:Try COBOL by tsm_sf (Score:2) Tuesday March 07 2006, @06:01PM
    • Re:Bad idea by Anonymous Coward (Score:1) Tuesday March 07 2006, @04:56PM
      • Re:Bad idea by rp (Score:1) Wednesday March 08 2006, @12:04PM
    • Re:Bad idea- compilers by Marxist Hacker 42 (Score:3) Tuesday March 07 2006, @05:00PM
      • Re:Bad idea- compilers (Score:5, Funny)

        by wizbit (122290) on Tuesday March 07 2006, @05:06PM (#14870200)
        and I can always tell the difference in code between a real programmer and Visual Studio Wizards

        So can I. The #Region " Windows Form Designer generated code " seems to be a bit of a giveaway, no?
        [ Parent ]
      • Re:Bad idea- compilers (Score:4, Interesting)

        by TheRaven64 (641858) on Tuesday March 07 2006, @06:58PM (#14871143)
        (http://theravensnest.org/ | Last Journal: Sunday October 07, @07:05AM)
        I would say that the first three languages a person should learn (not in any particular order) are:
        • Smalltalk
        • LISP
        • Prolog
        These teach different styles of programming and a lot of useful concepts. I might throw Pascal into that mix too. The next languages that they should learn are C (for when you really want an assembler, but need to be cross platform) and Erlang (for when scalability is king).

        If more people learned real languages before jumped-up assembly languages like C and pseudo-OO languages like C++ then we might see a bit more innovation in the language design community. Oh, and all three of the languages on my list run in an introspective environment.

        [ Parent ]
        • Re:Bad idea- compilers by Marxist Hacker 42 (Score:2) Tuesday March 07 2006, @07:17PM
        • modified version by jbolden (Score:2) Tuesday March 07 2006, @11:47PM
        • Re:Bad idea- compilers (Score:5, Insightful)

          by Mattintosh (758112) on Wednesday March 08 2006, @01:03AM (#14872864)
          I've never used any of those languages, nor do I forsee the need to.

          I learned Logo in middle school.
          I learned QBASIC (ugh), Pascal (ugh), COBOL (ugh++), and RPG (!) in high school.
          I learned C, C++, VB, and Java in college.

          Those landed me a job doing CAD drawings for a small company.

          Eventually, I learned PHP on my own.

          That gave me enough "experience" to get a PHP job.

          So what have I learned?
          - All the languages I was told were going to be useful "in real life" have turned out to be mostly worthless (perhaps I haven't reached the level of the C++ stuff yet... I'm reserving judgement on that one).
          - Concepts are best learned from pseudocode, not from any particular language.
          - Comfortable syntax is learned from languages that are built around a particular concept.
          - Databases are the real reason OOP is a necessity. Data objects are your friends.
          - Most programmers are not architects/designers. They're too impatient. They jump right in and code a plate of spaghetti before thinking about how long they'll have to support that code. Some of them do fairly well at making things efficient, though, so you can't fault them all.

          I don't know ASM, so I tend to disagree with the hardcore "I coded in ASM uphill both ways naked in the snow blah blah blah bring me my cane, sonny" crowd. It's time to pull the plug, gramps.

          I also disagree with the academics that sip lattes, listen to jazz, wear berets, and say that everyone should learn and use [insert obscure language here] and piss and moan that it's not happening. Man up, nancy. The real world uses real tools for real work. Your toy languages are not going to be used. So take your Smalltalk, LISP, and Prolog back to your local Starbucks where you can "ooh" and "aah" about how "advanced" they are.

          If you're going to teach concepts, do so. Don't use a language as a crutch. Teach in pseudocode. Give examples of "how-to" in multiple languages. If you're going to teach a language, don't teach concepts. Teach what that tool is supposed to be used for. PHP is for dynamic web pages. C++ is for, well, damn near anything, but not dynamic web pages. Java is kinda like C++, but slower (unless you fuss with compiling natively), and can be multi-platform with minor changes. Perl is great for a quick, unreadable script. VB is nice if you want to spend lots of money for the ability to build piddly-shit apps that only you will use.

          And remember that not everyone learns things the same way. Someone who "just gets it" with C, C++, Java, PHP, and similar-looking languages might have an aneurysm just looking at code in Objective C. (I did.) Sometimes a familiar syntax matters. And yet, that same person (now bleeding out on the floor) might have no trouble at all deciphering Visual Basic or Pascal even though they're different. (Again, me.) That should tell the designers of the aneurysm language that the syntax is annoying, shitty, and induces aneurysms. (Go Smalltalk and Obj-C!)
          [ Parent ]
        • 2 replies beneath your current threshold.
    • Re:Bad idea by object88 (Score:3) Tuesday March 07 2006, @05:16PM
      • Button1 ? by russianspy (Score:2) Tuesday March 07 2006, @06:03PM
        • Re:Button1 ? by DarkProphet (Score:2) Wednesday March 08 2006, @10:52AM
      • Re:Bad idea by westlake (Score:2) Tuesday March 07 2006, @06:11PM
        • Re:Bad idea by object88 (Score:2) Tuesday March 07 2006, @06:14PM
      • Re:Bad idea (Score:5, Informative)

        OK, that's just mean.

        I totally disagree. Difficult? Complicated? Sure, but not mean. People who have learned assembler are the ones who understand why

        for(int y=0; y<ysize; y++) {
        for(int x=0; x<xsize; x++) {
        do_something_to_pixel(x,y);
        }
        }
        will usually run faster than
        for(int x=0; x<ysize; x++) {
        for(int y=0; y<xsize; y++) {
        do_something_to_pixel(x,y);
        }
        }
        even though both are conceptually identical. There are many things that seem perfectly reasonable in high-level languages that turn out to be a really bad idea once you learn what's going on in the hardware. I'm sure it's possible to learn that stuff without hitting the metal a few times, but I've never, not one single time, ever met someone who's done so.
        [ Parent ]
        • Re:Bad idea by object88 (Score:2) Tuesday March 07 2006, @06:30PM
          • Re:Bad idea by Just Some Guy (Score:2) Tuesday March 07 2006, @06:47PM
            • Re:Bad idea (Score:4, Insightful)

              by object88 (568048) on Tuesday March 07 2006, @07:15PM (#14871257)
              Given that almost all images are stored with x-adjacent pixels being stored in consecutive memory locations (or nearly interleaved, with other data between them), the first example stands a much better chance of minimizing cache misses.

              Thank you-- I'm going to try to keep that in mind. I appreciate the tip.

              But if they tried to teach that stuff in programming 101 (regardless of the language), the students would leave at the end of the semester complaining that they didn't get to do anything fun, and are less likely to want to continue. A new student will have a hard enough time getting a project working. If you teach complex subjects first, they're more likely to make simple mistakes, rather like the typo you had in your initial example.

              Let them get passionate about the subject by completing small tasks right away, then move on to the heavy material.

              For that matter, in your example, the first code was not a "bad idea", it was simply less efficient. It would have been less efficient regardless of the language complexity, and the concept or cache-misses can be taught regardless of language.
              [ Parent ]
              • Re:Bad idea by tartley (Score:1) Tuesday March 07 2006, @09:57PM
              • Teaching cache-misses in Lisp by shadow_slicer (Score:2) Tuesday March 07 2006, @11:47PM
              • Re:Bad idea by Jackmn (Score:1) Wednesday March 08 2006, @09:16AM
              • Re:Bad idea by powerlord (Score:2) Wednesday March 08 2006, @11:51AM
              • Re:Bad idea by torokun (Score:2) Wednesday March 08 2006, @12:38AM
              • Re:Bad idea by tartley (Score:1) Saturday March 11 2006, @09:07AM
              • Re:Bad idea by torokun (Score:2) Sunday March 12 2006, @03:27AM
            • Re:Bad idea by jbolden (Score:2) Wednesday March 08 2006, @12:05AM
            • Re:Bad idea by colinrichardday (Score:2) Wednesday March 08 2006, @10:15AM
        • Maybe, maybe not. by autopr0n (Score:2) Tuesday March 07 2006, @06:48PM
          • Re:Maybe, maybe not. (Score:5, Insightful)

            by TheRaven64 (641858) on Tuesday March 07 2006, @07:05PM (#14871181)
            (http://theravensnest.org/ | Last Journal: Sunday October 07, @07:05AM)
            or that your compiler wouldn't just optimize the code in the first example anyway

            It probably wouldn't in a language like C, since it is very difficult to diagnose side-effects. If, however, you pick a (functional, or functional-style) language that supports a foreach statement then you could say something like:

            foreach({x,y} in image) ->
            do_something(x,y).

            You compiler / runtime would then pick an optimal number of concurrent threads to do this with for your target environment.

            A lot of the time, going to a lower level is a bad idea because:

            1. You throw away semantic information that the compiler could have used for optimisation, and
            2. Your high-level language compiler is better at optimisation than you.
            [ Parent ]
          • Re:Maybe, maybe not. by Space cowboy (Score:2) Tuesday March 07 2006, @09:29PM
        • Re:Bad idea by Wolfier (Score:2) Tuesday March 07 2006, @10:06PM
          • Re:Bad idea by Just Some Guy (Score:2) Wednesday March 08 2006, @09:34AM
        • Re:Bad idea by seebs (Score:2) Tuesday March 07 2006, @10:57PM
        • Re:Bad idea by Marble68 (Score:1) Tuesday March 07 2006, @11:10PM
        • Use a high level language by jbolden (Score:3) Wednesday March 08 2006, @12:03AM
        • Re:Bad idea by renej_frog (Score:1) Wednesday March 08 2006, @02:55AM
        • Let the optimizer deal with optimizing by SamNmaX (Score:2) Wednesday March 08 2006, @03:05AM
        • Re:Bad idea by SilentMobius (Score:1) Wednesday March 08 2006, @04:31AM
          • Re:Bad idea by Just Some Guy (Score:2) Wednesday March 08 2006, @09:39AM
        • Re:Bad idea by pclminion (Score:2) Tuesday March 14 2006, @03:39PM
        • 4 replies beneath your current threshold.
      • Re:Bad idea by Eric Dryden (Score:1) Tuesday March 07 2006, @06:28PM
        • Re:Bad idea by object88 (Score:2) Tuesday March 07 2006, @06:57PM
          • Re:Bad idea by Eric Dryden (Score:1) Tuesday March 07 2006, @07:44PM
            • Re:Bad idea by object88 (Score:2) Tuesday March 07 2006, @08:03PM
              • Re:Bad idea by Eric Dryden (Score:1) Tuesday March 07 2006, @11:32PM
              • Re:Bad idea by object88 (Score:2) Wednesday March 08 2006, @02:20PM
          • Re:Bad idea by chris_mahan (Score:1) Tuesday March 07 2006, @08:01PM
          • Re:Bad idea by Danga (Score:1) Tuesday March 07 2006, @08:53PM
      • Re:Bad idea (Score:5, Insightful)

        by Mr. Underbridge (666784) on Tuesday March 07 2006, @06:45PM (#14871028)
        I agree that clicking on a wizard is not programming, but for someone who's just starting, built-in IDE tools (like wizards) can really help. As an expirienced user, I have no problem manually typing

        Bad idea. A new programmer should start with small command-line programs, and grow into coding bigger things *by hand* at first. Only when they understand exactly what the wizard does should they start using them as time savers.

        That, I think is the point of wizards - to save you time, not to do for you things you don't understand. When new users start using wizards, bad code WILL result.

        [ Parent ]
        • Re:Bad idea by Penguinoflight (Score:2) Tuesday March 07 2006, @08:27PM
        • Re:Bad idea by object88 (Score:2) Tuesday March 07 2006, @08:31PM
          • Re:Bad idea by shadow_slicer (Score:2) Tuesday March 07 2006, @11:35PM
        • Re:Bad idea by mkiwi (Score:2) Tuesday March 07 2006, @08:47PM
        • Re:Bad idea by Mattintosh (Score:2) Wednesday March 08 2006, @01:14AM
          • Re:Bad idea by Mr. Underbridge (Score:2) Wednesday March 08 2006, @01:13PM
        • Re:Bad idea by Hosiah (Score:3) Wednesday March 08 2006, @02:49AM
      • Re:Bad idea by Audacious (Score:2) Tuesday March 07 2006, @07:48PM
        • Re:Bad idea by blugu64 (Score:1) Tuesday March 07 2006, @09:30PM
          • Re:Bad idea by Audacious (Score:2) Wednesday March 08 2006, @05:28PM
            • Re:Bad idea by blugu64 (Score:1) Thursday March 09 2006, @10:21AM
      • Re:Bad idea by Richthofen80 (Score:2) Tuesday March 07 2006, @08:50PM
      • Re:Bad idea by jbolden (Score:2) Tuesday March 07 2006, @11:54PM
      • Re:Bad idea by object88 (Score:2) Tuesday March 07 2006, @06:11PM
        • Re:Bad idea by bubkus_jones (Score:1) Tuesday March 07 2006, @07:04PM
          • Re:Bad idea by object88 (Score:2) Tuesday March 07 2006, @07:38PM
            • Re:Bad idea by bubkus_jones (Score:1) Tuesday March 07 2006, @09:28PM
            • Re:Bad idea by HappyHead (Score:2) Wednesday March 08 2006, @09:25AM
              • Re:Bad idea by object88 (Score:2) Wednesday March 08 2006, @02:17PM
      • 1 reply beneath your current threshold.
    • Wizards by nurb432 (Score:2) Tuesday March 07 2006, @05:46PM
      • Re:Wizards by Profane MuthaFucka (Score:1) Tuesday March 07 2006, @05:57PM
      • Re:Wizards by Jerry Coffin (Score:2) Tuesday March 07 2006, @07:52PM
        • 8 Bitters by nurb432 (Score:2) Wednesday March 08 2006, @09:28AM
    • Re:Bad idea by ednopantz (Score:3) Tuesday March 07 2006, @05:58PM
    • I'll pass on the FUD, but maybe some cheese... by xiphoris (Score:2) Tuesday March 07 2006, @06:05PM
    • Re:Bad idea by wonkavader (Score:2) Tuesday March 07 2006, @06:14PM
    • Re:Bad idea by slashdotnickname (Score:2) Tuesday March 07 2006, @06:16PM
    • Re:Bad idea by pla (Score:3) Tuesday March 07 2006, @06:17PM
      • Re:Bad idea by PitaBred (Score:2) Wednesday March 08 2006, @04:45PM
    • Re:Bad idea by anomalous cohort (Score:2) Tuesday March 07 2006, @06:26PM
    • Re:Bad idea by szhao (Score:1) Tuesday March 07 2006, @09:21PM
    • Re:Bad idea by jonwil (Score:2) Tuesday March 07 2006, @10:20PM
    • Re:Bad idea by try_anything (Score:2) Wednesday March 08 2006, @02:27PM
    • Re:Bad idea by 77Punker (Score:3) Tuesday March 07 2006, @05:04PM
      • 1 reply beneath your current threshold.
    • 4 replies beneath your current threshold.
  • No! by In Fraudem Legis (Score:1) Tuesday March 07 2006, @04:40PM
    • Re:No! by Locke2005 (Score:3) Tuesday March 07 2006, @04:42PM
      • why? by everphilski (Score:2) Tuesday March 07 2006, @04:50PM
        • easy by selfdiscipline (Score:2) Tuesday March 07 2006, @05:13PM
          • Re:easy by JWW (Score:2) Tuesday March 07 2006, @05:36PM
            • Re:easy by ArbitraryConstant (Score:2) Tuesday March 07 2006, @05:47PM
              • Re:easy by JWW (Score:2) Wednesday March 08 2006, @12:13AM
              • Re:easy by ArbitraryConstant (Score:2) Wednesday March 08 2006, @12:22AM
            • Re:easy by AKAImBatman (Score:2) Tuesday March 07 2006, @05:59PM
              • Re:easy by 1729 (Score:1) Tuesday March 07 2006, @06:28PM
            • Re:easy by moo083 (Score:1) Tuesday March 07 2006, @07:56PM
              • Re:easy by Jesus_666 (Score:2) Wednesday March 08 2006, @08:49AM
        • Re:why? by macshit (Score:3) Tuesday March 07 2006, @05:53PM
          • Re:why? by PitaBred (Score:2) Tuesday March 07 2006, @07:06PM
            • Re:why? by macshit (Score:2) Tuesday March 07 2006, @07:33PM
              • Re:why? by PitaBred (Score:2) Tuesday March 07 2006, @07:41PM
      • Re:No! by ObsessiveMathsFreak (Score:2) Tuesday March 07 2006, @04:50PM
        • Re:No! by LWATCDR (Score:3) Tuesday March 07 2006, @04:55PM
      • Re:No! (Score:5, Insightful)

        by AuMatar (183847) on Tuesday March 07 2006, @04:55PM (#14870075)
        I'd go the other way- don't start with any language that has manual garbage collection. If you don't learn and understand pointers early, you never quite get them. And if you don't get them, you have no idea how your code actually works under the hood. Without that, you end up writing inefficient buggy code that those who do understand computers need to fix for you.

        The only language a beginner should be using is C, C++, or assembly.
        [ Parent ]
        • Re:No! by brpr (Score:3) Tuesday March 07 2006, @05:26PM
          • Re:No! by AuMatar (Score:2) Tuesday March 07 2006, @05:58PM
            • Re:No! by brpr (Score:2) Tuesday March 07 2006, @07:45PM
          • Re:No! by 1729 (Score:1) Tuesday March 07 2006, @06:32PM
            • Re:No! by brpr (Score:2) Tuesday March 07 2006, @07:39PM
              • Re:No! by 1729 (Score:1) Tuesday March 07 2006, @08:10PM
              • Re:No! by 1729 (Score:1) Wednesday March 08 2006, @09:44AM
              • Re:No! by brpr (Score:2) Wednesday March 08 2006, @10:40AM
              • Re:No! by 1729 (Score:1) Wednesday March 08 2006, @11:00AM
              • Re:No! by brpr (Score:2) Wednesday March 08 2006, @01:13PM
              • Re:No! by 1729 (Score:1) Wednesday March 08 2006, @03:43PM
              • Re:No! by brpr (Score:2) Wednesday March 08 2006, @08:59PM
              • 1 reply beneath your current threshold.
        • Re:No! by Tablizer (Score:1) Thursday March 09 2006, @12:57AM
  • still a toy by dunkelfalke (Score:2) Tuesday March 07 2006, @04:40PM
  • Visual Basic by webmistressrachel (Score:2) Tuesday March 07 2006, @04:41PM
  • C# by gcnaddict (Score:2) Tuesday March 07 2006, @04:41PM
  • still C (Score:4, Interesting)

    by engagebot (941678) on Tuesday March 07 2006, @04:41PM (#14869928)
    For a true beginner, I still say regular old C is the way to go. Learn how variables work, function calls, passing arguments, pointers... There's something to be said with starting out compiling a single .c source file with gcc.
    • Re:still C (Score:5, Funny)

      by beavis88 (25983) on Tuesday March 07 2006, @05:01PM (#14870142)
      *sniff* brings back memories of my first C program

      % ./a.out
      Segmentation Fault
      %
      [ Parent ]
    • Re:still C by Penguin Programmer (Score:1) Tuesday March 07 2006, @05:45PM
    • Re:still C by Mr.Bananas (Score:1) Tuesday March 07 2006, @05:47PM
    • Re:still C (Score:5, Interesting)

      by Pseudonym (62607) <ajb@spamcop.net> on Tuesday March 07 2006, @06:02PM (#14870671)

      On the contrary, C is one of the worst languages you can use as your first language. I've tried teaching C to first year students. You end up teaching the syntax and vagaries of C and not very much programming or computer science.

      One of the first things that beginning programmers want to do is do stuff with strings. Do you really want to explain C strings to people who have never programmed before? (There's a reason that microcomputer BASICs got peoples imaginations working. You can do stuff in it straight away!)

      Amusingly, about the only worse mainstream language I can think of for this purpose is VB. C's syntax and semantics at least have the advantage of being consistent. (In its defence, VB wasn't exactly designed to be the way it is. It was a fairly inextensible language which nonetheless got extended as the years progressed. "Congealed" might be a better word than "designed".)

      Save C for semester 2. Semester 1 should use a language which emphasises the basics. A functional language (say, Scheme or Haskell, but not ML; ML is a cool family of languages, but the syntax is way too arcane for a first language) would be my first choice, but even Java is a better choice than C. Hell, even C++ is a better choice. The syntax is at least as quirky as that of C, but at least it has a decent standard library which lets you do stuff straight away.

      [ Parent ]
      • Re:still C by thogard (Score:2) Tuesday March 07 2006, @11:28PM
      • Re:still C by freedom_india (Score:2) Wednesday March 08 2006, @03:01AM
      • Re:still C by KlausBreuer (Score:2) Wednesday March 08 2006, @04:56AM
      • Scheme, yes -- Python's good too by cduffy (Score:2) Wednesday March 08 2006, @06:03AM
      • Re:still C by stygianguest (Score:1) Wednesday March 08 2006, @09:44AM
      • Re:still C by wrp103 (Score:1) Wednesday March 08 2006, @10:21AM
      • Re:still C by bensch128 (Score:1) Thursday March 09 2006, @10:37AM
      • 1 reply beneath your current threshold.
    • Re:still C by phlinn (Score:2) Tuesday March 07 2006, @06:17PM
    • Re:still C by jbplou (Score:1) Tuesday March 07 2006, @06:48PM
    • horrible choice by penguin-collective (Score:2) Tuesday March 07 2006, @06:56PM
    • Re:still C by ao_coder (Score:1) Tuesday March 07 2006, @07:45PM
    • For beginners? by MoxFulder (Score:2) Tuesday March 07 2006, @08:13PM
    • Re:still C by gstoddart (Score:2) Wednesday March 08 2006, @04:25PM
    • 1 reply beneath your current threshold.
  • Visual Basic is horrible; use Python (Score:4, Insightful)

    by Anonymous Coward on Tuesday March 07 2006, @04:43PM (#14869936)
    Python is a great starter language.
    • Re:Visual Basic is horrible; use Python by huckda (Score:1) Tuesday March 07 2006, @05:50PM
    • by XxtraLarGe (551297) on Tuesday March 07 2006, @05:55PM (#14870599)
      I would argue that Javascript is even better for a newbie. No special software (only a web browser & text editor are needed), no compiler, and it runs on almost every platform available. It uses variables, arrays, loops and functions. You can make changes and see results almost immediately. Just refresh the page!
      [ Parent ]
    • Re:Visual Basic is horrible; use Python by largenumber (Score:1) Tuesday March 07 2006, @06:05PM
    • by nicolas.kassis (875270) on Tuesday March 07 2006, @06:42PM (#14870997)
      I second that, Python is easy on the beginers but, I still think that to make a good programmer you need to teach him/her 2 languages. C first and then Python. The reasoning behind this is that C teaches a lot of basic (easy and complex ) things such a variable and memory, functions, types, stucture, control flow.... It shows new programmers a lot of concepts that are part of the majority of languages (Even just a Subset of features). After new programmers have done it the hard way, Python is great to start talking about OOP, Data structures, Algorithm... Since it's a pretty quick to code most things in python and that it removes the major pain of memory management, it allows for quick and easy learning of some more complex topic like those I have just mentioned. Finally I say that learning C and Python will allow most to learn any other language in a short period of time. It makes well rounded people. Java is also quite nice for beginers. But C and Python are just more usefull together. They fit in more places. Nic
      [ Parent ]
      • Re:Visual Basic is horrible; use Python by Peter La Casse (Score:2) Tuesday March 07 2006, @07:34PM
      • by dancpsu (822623) on Tuesday March 07 2006, @09:05PM (#14871930)
        (Last Journal: Friday June 23 2006, @07:30PM)
        The reasoning behind this is that C teaches a lot of basic (easy and complex ) things such a variable and memory, functions, types, stucture, control flow...After new programmers have done it the hard way, Python is great to...

        Why would you want to start with "the hard way"? Bringing students into a EECS program might benefit from starting out with C or even assembler, but for anything else it is overkill. Python teaches variables, functions, structure, and control flow as well, so I don't see the disadvantage of starting with Python. The main thing that Python does not teach is memory management and some of the more interesting bugs that C can produce.

        The main reason to introduce a student to more than one language is to begin without the more complex parts of languages like object oriented code, and even structured code. The nice thing about python is that you can start with procedural code, continue through structured code, and end up at object oriented code, introducing only a few concepts at a time.

        With C, you have the problem of explaining the main() function or doing handwaving before you get around to explaining functions. With Java, you have the problem of classes even before you get to a main function. When even the most basic program requires structured or object oriented code, you have a problem teaching it to beginners. Take the following examples:

        Java:
        class myfirstjavaprog
        {
        public static void main ( String args[] )
        {
        System.out.println ( "Hello World!" ) ;
        }
        }
        Student asks:

        What is a class?, What is that funny looking bracket?, What is public?, What is static?, What is void for?, What is main?, What are the parenthesis for?, What is a String?, What is args?, How come there are funny square brackets?, What is system?, What does the dot do?, What is out?, What is println?, Why are there quotes there?, What does the semicolon do?, How come it's all indented like that?.

        C:
        #include <stdio.h>

        main() {
        printf ( "Hello, World!\n" ) ;
        }
        Student asks:

        What is #include?, What are the greater than and less than signs doing there?, What is stdio.h?, What is main? What are the parenthesis for?, What is the funny bracket for?, What is printf?, Why is hello world in quotes?, What is the backslash-N doing at the end?, What is the semicolon for?

        Python:
        print "Hello World"
        Student asks:

        What is print?, Why is hello world in quotes?

        Get the picture?
        [ Parent ]
      • Re:Visual Basic is horrible; use Python by Euler (Score:2) Tuesday March 07 2006, @11:07PM
    • No, Python is great when you know what to do by Werrismys (Score:1) Tuesday March 07 2006, @07:01PM
    • by ignavus (213578) on Tuesday March 07 2006, @10:28PM (#14872264)
      Makes a great starter pet, too.
      [ Parent ]
    • Re:Visual Basic is horrible; use Python by lokedhs (Score:2) Tuesday March 07 2006, @10:25PM
    • Re:Visual Basic is horrible; use Python by Euler (Score:1) Tuesday March 07 2006, @10:52PM
    • Re:Visual Basic is horrible; use Python by maxwell demon (Score:1) Wednesday March 08 2006, @08:18AM
    • 3 replies beneath your current threshold.
  • And in other questions... (Score:5, Funny)

    by edremy (36408) on Tuesday March 07 2006, @04:43PM (#14869941)
    Dear Republican National Committee: Would Hillary be a good president?

    Dear Osama Bin Laden: Would you like to come to my bar mitzvah?

    Dear Eagles fans: Would you be willing to sign Terrell Owens again?

  • Not really. (Score:5, Insightful)

    by c0l0 (826165) on Tuesday March 07 2006, @04:44PM (#14869949)
    (http://johannes.truschnigg.info/)
    While Visual Basic leads to quick and early (limited) success, your coding style and habits, and your perception of how to solve problems when programming in general, will be badly spoiled for a LOOONG time. I advise you to stay the fuck away from it. Go learn an interpreted, really well-designed language, such as Ruby. -> http://www.ruby-lang.org/ [ruby-lang.org]
  • My experience by Anonymous Coward (Score:1) Tuesday March 07 2006, @04:44PM
  • To be honest by jswalter9 (Score:1) Tuesday March 07 2006, @04:44PM
  • Good Beginner's Language (Score:4, Insightful)

    by joekampf (715059) on Tuesday March 07 2006, @04:44PM (#14869954)
    I think it depends on what kind of a beginner it is. It is some hobbiest, or is it someone who is going to code for a living? If the answer is, someone who is going to code for a living then I think your first language should be a language that does not have a lot of bell and whistles. It should be a language that doesn't have a built in string class. One that makes you create arrays of characters. A language that doesn't provide you data structures right out of the box. A good language would be C or Pascal. Unfortunatly, new programers are learning Java, VB, etc right away. They have no concept as to what goes on under the covers. What it means when I go and create 1000's of strings. Or what it means to have a Hash Table vs a Stack, etc. Thanks, Joe
  • I'd go with C# (Score:5, Insightful)

    by hal2814 (725639) on Tuesday March 07 2006, @04:44PM (#14869956)
    Well Mr. Millbarge, I was going to set up the Disney Channel for you for free but now I'm not going to. If you're looking to learn .NET programming, I'd go with C#. It has a C-style syntax which is makes it easier to pick up other C-style syntax languages like C, C++, Java, etc. VB's OO aspects feel to me like they were bolted onto the language as an afterthought. You can experiment with both on Visual Studio. If you want, it might be a good idea to build a few sample projects each way to see which one you feel more comfortable with. You'll learn programming with either one, but you'll learn more you can use elsewhere from C#.
  • I'd personally like to suggest trying out Python [python.org]. Not only is it more powerful than, and just as easy to code as – in fact, often considerably easier than – Visual Basic, it also has the advantage of running on many other operating systems such as Linux and Mac OS X. It can take a little while to get the hang of, but once you know what you're doing it's effortless (take a look [sf.net] for yourself [sf.net] at a couple things I hacked together, for example).

    And yes, despite being a Linux hacker now I once did use Visual Basic, and I have to say it took way longer to learn VB than it did Python.
  • Why? by RobinH (Score:2) Tuesday March 07 2006, @04:44PM
    • Troll! by ZxCv (Score:2) Tuesday March 07 2006, @05:06PM
      • Re:Troll! by RobinH (Score:2) Tuesday March 07 2006, @05:59PM
        • Re:Troll! by ZxCv (Score:2) Tuesday March 07 2006, @06:20PM
    • Re:Why? by jbolden (Score:2) Wednesday March 08 2006, @12:15AM
  • Visual Studio and Visual Basic by biocute (Score:2) Tuesday March 07 2006, @04:45PM
    • Re:Visual Studio and Visual Basic (Score:5, Interesting)

      by object88 (568048) on Tuesday March 07 2006, @05:28PM (#14870394)
      On the other hand, I would not recommend a beginner to use Visual Studio or any of the IDE where you drag-and-drop to program.

      Yeah, because programming boilerplate includes, class, main, and event handling code (which does nothing on its own) is really going to get someone hooked. Screw that. Give that code to a new programmer for free and let them add in something that does something fun, obvious, and interesting right away. That's how you'll get 'em hooked.

      Look at it this way... no-one got hooked on pot because they liked making bongs.
      [ Parent ]
  • I'm a fan of Java (Score:3, Insightful)

    by egomaniac (105476) on Tuesday March 07 2006, @04:45PM (#14869973)
    (http://slashdot.org/)
    I know I'm going to get bashed for this, but I really think Java is a great first language. It has far more regularity, all of its behaviors (even error conditions) are rigorously defined, which makes debugging easier, and it has a great user interface library in the form of Swing.
  • sort of. by Captain_Stupendous (Score:2) Tuesday March 07 2006, @04:46PM
    • Re:sort of. by Tyger (Score:1) Tuesday March 07 2006, @05:04PM
      • Re:sort of. by object88 (Score:2) Tuesday March 07 2006, @05:32PM
        • Re:sort of. by Tyger (Score:2) Tuesday March 07 2006, @06:55PM
          • Re:sort of. by object88 (Score:2) Tuesday March 07 2006, @07:01PM
  • Good ... for what? (Score:5, Insightful)

    by rongage (237813) on Tuesday March 07 2006, @04:46PM (#14869982)

    I guess this depends on what you qualify as "good"...

    • VB is good if you want to write apps for Windows
    • VB is good if you don't care about other platforms
    • VB is good if you don't care much about stability
    • VB is good if you want to learn the "wrong way" to code (who needs type enforcement)
    • VB is good if you want code that you can read but not understand

    I'm sure there are other reasons to consider VB to be a "good" language. Since I don't do VB anymore (thank God), I have lost track of those reasons. I think I'll stick with C and PHP, this way when I get a customer that wants something that'll work on Solaris or QNX or AIX or HP/UX, I have half a chance of success!

  • Many of us started on things like Applesoft BASIC by Richard Steiner (Score:2) Tuesday March 07 2006, @04:46PM
  • Bad idea (Score:4, Interesting)

    Really Short Answer: No.

    Short Answer: Are you out of your bleeding mind?

    Long Answer: Visual Basic is riddled with problems for those who are new to programming. The first problem that hits someone looking to learn programming is that he/she sees a pretty layout manager, but no code. It's quite possible to build an interface without ever writing a single line of code. When the entire point of the exercise is to learn coding, this is NOT a good thing.

    The second problem is that Visual Basic doesn't clearly introduce the "programmer" to concepts like functions, interpreters, and compilers. Most of the functions in VB are automatically generated, giving the impression that these are magic incantations that shouldn't be touched by a "programmer". VB Studio has an interpreter, but it isn't interactive in the same way as BASIC interpreters. This makes it useless as a learning tool. The compiler is mostly a matter of setting a file name and hitting a button to produce an EXE. So the new programmer gains no understanding of how code gets translated into an executable. Concepts like linking, for example, are completely glossed over.

    One of my personal beefs with the older versions of VB (which have been corrected in .NET, for no other reason than because C# requires it) is that VB passes off this idiotic idea of grouped functions as "Object Oriented Programming". The fact that these "objects" can't be instantiated, nor can they be used as Abstract Data Types [wikipedia.org], makes them utterly useless for OOP development. I would even go as far as to say that VB's previous implemenation of OOP was misleading and dangerous.

    VB also loses major points for failing to include typed variables. The automatic conversions between numbers, strings, and other types only serves to confuse a new programmer, especially when the auto-cast does the wrong thing. A new programmer should be taught to understand how data is represented by computers, not abstracted away so far that they can't understand how to fix problems.

    Beyond that, VB tends to do a lot of confusing things that are not easily explainable. The lack of useful documentation and/or a good documentation browser only serves to increase confusion.

    To be honest, I never understood why some non-VB developers thought of VB as a 'toy' language,

    VB had/has its uses, but it's still just a RAD tool. As soon as you run into situations that the RAD tool can't handle, you should be using a real language rather than trying to hack it.
    • Re:Bad idea by FishWithAHammer (Score:1) Tuesday March 07 2006, @05:05PM
      • Re:Bad idea by AKAImBatman (Score:2) Tuesday March 07 2006, @05:14PM
        • Re:Bad idea by object88 (Score:2) Tuesday March 07 2006, @05:36PM
          • Re:Bad idea by AKAImBatman (Score:2) Tuesday March 07 2006, @05:40PM
            • Re:Bad idea by artlogic (Score:1) Tuesday March 07 2006, @06:04PM
              • Re:Bad idea by AKAImBatman (Score:2) Tuesday March 07 2006, @06:12PM
              • Re:Bad idea by Danse (Score:2) Tuesday March 07 2006, @07:13PM
              • Re:Bad idea by The Bungi (Score:1) Thursday March 09 2006, @11:47PM
          • 1 reply beneath your current threshold.
    • Re:Bad idea (Score:5, Insightful)

      by dedazo (737510) on Tuesday March 07 2006, @06:40PM (#14870974)
      (Last Journal: Friday August 31, @07:08PM)
      Mmmkay, since I've noticed that you're some sort of shining star around here and your insight tends to get modded up regularly, I'll try to be as polite as possible, even though my first instinct is to say you're full of it.

      Your first problem is that you're mashing VB6 and VB.NET. They, for all the similarities in syntax, are really completely different languages with a completely different runtime going underneath. Now, since this is a question about a "beginners language", it's unlikely that someone would mistakenly rant off about VB6, since it has been largely deprecated. Anyone starting with "VB" now would use VB.NET, with or without the pretty IDE. I think that's clear enough from most of the posts I've seen so far in this article.

      Some of your points are valid vis-a-vis VB6. It was completely tied to the IDE (the preprocessor infact was the IDE) and it supported a semi-OO model, which is like saying "a little bit pregnant", but regardless, most of these limitations were related to the fact that VB6 was essentially a COM server and consumer platform. The lack of implementation inheritance is a good example of that - since COM is a binary spec, it does not support it. Polymorphism and aggregation OTOH, which permeate COM, were. So pre-VB.NET, "Visual Basic" was both hobbled and all the better off for being tied to intrinsically to the COM spec. VB6 didn't behave like it did because someone at Microsoft didn't have anything better to do, it did because it had to play by the rules - the rules of COM. You could either understand these limitations (if they were to you) and live with them, or just use C++. By the time Microsoft released ATL, COM-centric coding in C++ became extremely easy - I always chuckle at the quitessential "yeah I know C++ and VB sucks, but I don't know a replacement for the GetObject() function and my life suxx0rz" claim from people who think it's really cool to bash VB because it has a large following of hobby developers that know nothing about software design, as if it was impossible to do anything meaningful with it. But I digress.

      Along comes VB.NET, which is essentially the VB6 syntax ported to the .NET CLR. Like the other "mainstream" languages that target the CLR/CLI, VB.NET is essentially a full OO implementation, unless you're willing to call Python or Java "toys" because they don't support multiple inheritance or the concept of friend classed as implemented by C++.

      So you have a fully OO language (for all practical purposes) with generics, operator overloading, partial classes, etc. that can be easily decoupled from the IDE - all you need is a text editor and the compiler, though most people prefer the IDE route. It just happens to look like BASIC. Other than that, I think it's a good beginner's language. Wouldn't you agree?

      That's as far as VB currently goes... the rest of your rant is just the usual bashing a platform that is no longer supported or in active development, nor understood (obviously) by people like you.

      [ Parent ]
      • Re:Bad idea by mewphobia (Score:3) Wednesday March 08 2006, @04:08AM
        • Re:Bad idea by cduffy (Score:2) Wednesday March 08 2006, @06:48AM
          • Re:Bad idea by mewphobia (Score:2) Wednesday March 08 2006, @06:19PM
            • Re:Bad idea by cduffy (Score:1) Wednesday March 08 2006, @07:26PM
        • Re:Bad idea by dedazo (Score:1) Wednesday March 08 2006, @03:11PM
      • 1 reply beneath your current threshold.
    • Re:Bad idea by Hosiah (Score:2) Wednesday March 08 2006, @02:52AM
    • Re:Bad idea by AKAImBatman (Score:2) Tuesday March 07 2006, @05:47PM
      • Re:Bad idea by Danse (Score:2) Tuesday March 07 2006, @07:16PM
      • Re:Bad idea by loraksus (Score:2) Tuesday March 07 2006, @07:52PM
      • 1 reply beneath your current threshold.
    • Re:Bad idea by AKAImBatman (Score:2) Tuesday March 07 2006, @06:19PM
      • Re:Bad idea by Danse (Score:2) Tuesday March 07 2006, @07:36PM
        • Re:Bad idea by hyperion454 (Score:1) Wednesday March 08 2006, @02:34AM
          • Re:Bad idea by Danse (Score:2) Wednesday March 08 2006, @10:29AM
    • Re:Dont confuse VB with VBScript by AKAImBatman (Score:2) Tuesday March 07 2006, @06:27PM
    • 3 replies beneath your current threshold.
  • dont learn vb (Score:4, Insightful)

    by Tester (591) <tester AT tester DOT ca> on Tuesday March 07 2006, @04:47PM (#14869990)
    (http://www.tester.ca/)
    It has never been a good beginner's language.. I truly really recommend a C-family language. Why? Because most of today's popular languages are in the family (C, C++, Java, C#, etc). C++ is way over complicated for a first language. I would really recommend that you start with old fashioned C. Yes, its not object oriented, but it forces you to focus on the basic thing, OO is just a way to pack code together, its not a defining property of the language.. Then you can easily learn C++, Java, C#..

    If you really want to start with a OO language, pick Java or C#.. But be warned, those are dynamic languages (Java, C#, Perl, PHP, Python, Javascript, etc) and they have some differences compared to "hard-compiled" languages like C. C forces you to understand how the computer works, and it will always help afterwards to know that. Python is also a good beginner's language, its clear, clean, easy to learn, easy to use. Stay away from Perl and PHP, they are very easy to use.. but they teach bad habits.

    And VB is badly considered not because the language sucks (and it did suck last time I used it.. but that was many years ago), but because most VB programmers suck and are not very good. Often not formally trained and they dont really understand many important concepts. Its fine if you want to cook for you familly, but that's not how you cook for a large restaurant. A good formally trained programmer should be able to pick up any not-to-weird language in very little time (since they all have basicly the same concepts)... VB programmers most often can't. Where I work, I have to handle C, C++, Java, Perl, PHP, having a good base is important. The concepts are important, the syntax is just a tool. Get a good tool, dump VB.
  • VB.net == C# They are the same language by JumpSuit Boy (Score:2) Tuesday March 07 2006, @04:47PM
  • Headache by NitsujTPU (Score:2) Tuesday March 07 2006, @04:47PM
  • Yes. by sglider (Score:2) Tuesday March 07 2006, @04:48PM
    • Re:Yes. by edmicman (Score:2) Tuesday March 07 2006, @05:02PM
    • Re:Yes. (Score:4, Insightful)

      by egomaniac (105476) on Tuesday March 07 2006, @05:08PM (#14870217)
      (http://slashdot.org/)
      I started out with Java, and wasn't too impressed. After all, what could I do with it? Spend hours building widgets to do things didn't capture my interest, so about 60 hours into the language, I backed out.

      This doesn't even make sense. Java is a general-purpose programming language -- you can write absolutely anything in it. Client software, server software, command-line tools, graphical tools, compilers, games, anything. What do widgets have to do with things?
      [ Parent ]
      • Re:Yes. by miyako (Score:2) Tuesday March 07 2006, @06:28PM
    • Re:Yes. (Score:5, Insightful)

      by MythoBeast (54294) on Tuesday March 07 2006, @05:55PM (#14870604)
      (http://www.mythologicalbeast.org/ | Last Journal: Monday September 08 2003, @01:27PM)
      Sixty hours? A year? You make this amount of practice sound like a lot of time. I'm fifteen years into C++ and I hack kernel and could write my own compiler. Nonetheless, I'm still learning about some of the things it can do.

      I'm not a programmer because I love to program, I program to do a function, to make some part of my job easier.

      This is a truly key statement in his post. You have to ask yourself what you want to do with programming. If you want to write software that'll do interesting things for your own personal use, then VB is probably about right. It won't produce elegant code, but it will produce simple functionality fairly quickly, and you can build your own tools with it. In a society where computer illiteracy is becoming as problematic as written illiteracy, this kind of programming language definitely has a place.

      On the other hand, if you want to produce programs for OTHER people to use, you shouldn't flinch at spending a year learning how to make a programming language do what you want it to do. It's like mechanical or civil engineering. If you want to build a shed out back or a trebuchet then go ahead and pickup some parts at Home Depot and start nailing things together. If you want to design anything that ANYONE ELSE is going to use, like an office building or an automobile, then you had better figure out how to use something a little more sophisticated than 2x4's.

      A lot of people will come back with the argument that there should be something easier to learn than C or C++ for the beginners, but in my experience that's a flawed argument. Learning a language is an investment in time, and most people are unwilling to discard that investment. Instead, they've bolted on afterthoughts to the programming languages to make them more functional. For that reason, VB6 was always a horse designed by a committee. If you want to learn how to program like a professional then start with a professional language.

      The one exception is Assembly Language. Every time I try to teach people how to program I start by teaching them the Twelve Instruction Programming System (TwIPS), which is a simplified subset of assembly. With this they learn the bare bones of what any piece of software does, how algorithms function inside a computer, and what the instructions are really doing.

      And when they get around to learning C++ they find it considerably less tedious than if they had hit it directly.
      [ Parent ]
      • Re:Yes. by pionzypher (Score:2) Tuesday March 07 2006, @06:51PM
      • Scheme Maybe? by arthur5005 (Score:2) Tuesday March 07 2006, @07:03PM
      • you should know better by idlake (Score:2) Tuesday March 07 2006, @08:18PM
      • Re:TwIPS by josath (Score:1) Tuesday March 07 2006, @08:21PM
        • Re:TwIPS by MythoBeast (Score:3) Tuesday March 07 2006, @09:00PM
          • Re:TwIPS by maxwell demon (Score:2) Wednesday March 08 2006, @08:44AM
            • Re:TwIPS by MythoBeast (Score:2) Wednesday March 08 2006, @10:46AM
      • Horse? by sedyn (Score:2) Tuesday March 07 2006, @11:33PM
      • 1 reply beneath your current threshold.
    • So there are two answers to this question by mindaktiviti (Score:2) Tuesday March 07 2006, @05:55PM
    • Re:Yes. by KermodeBear (Score:1) Tuesday March 07 2006, @06:28PM
    • Bah! Kids These Days! by Greyfox (Score:2) Tuesday March 07 2006, @06:37PM
    • Re:Yes. by Wrathernaut (Score:1) Tuesday March 07 2006, @08:45PM
    • 3 replies beneath your current threshold.
  • by Bogtha (906264) on Tuesday March 07 2006, @04:50PM (#14870015)

    With all the fancy changes, is VB still the great beginner's language it once was? Would you recommend it to a beginner over C#?"

    "Is kicking puppies still a great way of attracting women, or do you recommend kittens these days?"

    VB was never a great beginner's language. It's wrong all over. The only thing that got it a reputation for being a "great beginner's language" was that you could draw the GUI in later versions * before you actually learnt how to write code, so you could get visually pleasing results immediately, whereas the competition at the time meant you actually had to learn how to use a GUI API (and consequently, how to write code) first.

    You want a good beginners language, look at Python. It's been used successfully in teaching environments for a while now. It enforces good practices like indentation and prohibits easy sources of bugs, like if foo = bar: O'Reilly have an article [oreilly.com] about Python for teaching programming that you might be interested in.

    * Yeah, the first versions of Visual Basic ran on DOS and didn't have the GUI builders that later versions did. I'm not quite sure what qualified them as basic of the "visual" variety, it's not like you had to type your code in with your eyes shut in other basics.

  • Definately by FST (Score:1) Tuesday March 07 2006, @04:50PM
  • D'oh! (Score:5, Insightful)

    by stuffduff (681819) on Tuesday March 07 2006, @04:51PM (#14870026)
    (Last Journal: Thursday October 11, @08:26AM)
    Microsoft's language offerings are the result of some other people's way of deciding how things should work. While Microsoft is not alone in this practice, they are the topic of this article. I can't even count the times that I have seen the following: A programmer sits at an IDE, and on the screen is something like this:

    Private Sub Command1_Click()

    End Sub

    What they will do in the process is to go out and grab a bunch of someone else's code, paste it in there, and change the names of a few things. It really bothers me that the product of this process is even called software. At best shouldn't it be called 'macro-gramming?' Sorry to be such a stickler, but does that programmer have any idea what really goes on when that button is pushed? When the end users need a change that is not an exposed property or method of the pre-packaged object, what can they do? They probably have more creative skills when it comes to making excuses than they do at actually programming. Hell, we've all done it. It seemed like a good idea at the time to just slap together a few goodies, make it look pretty and ship it out the door. But what you end up doing is letting someone else make all the really important decisions for you. If you're lucky enough to be able to satisfy all the demands you encounter that way then more power to you.

    In order to learn the principles of computer programming, less is more in my book. The more computer science you know, the less dependent on any particular set of tools you become. When code is dear and time consuming to write debug test and maintain, you will be absolutely amazed on how little of it you can get by on. Take the same algorithm and implement it in a couple different formats, languages, compilers, etc. See how many instructions it actually becomes when it gets run. See where different efficiencies of speed or size become important. Try some Python to see what can really be done in an interpreted environment. Try a C compiler. Try looking for a couple of algorithms and see which one performs better and be able to describe why. Then, no matter what tools you end up using, you will have a much better idea of what is going on, how to make it both secure and efficient from the start.

  • NO! by panic911 (Score:2) Tuesday March 07 2006, @04:53PM
  • It was once a great beginner's language by Gavin Scott (Score:2) Tuesday March 07 2006, @04:54PM
  • bad place to ask that question by JeanBaptiste (Score:2) Tuesday March 07 2006, @04:54PM
  • Free Pascal (Score:4, Informative)

    by ROBOKATZ (211768) on Tuesday March 07 2006, @04:54PM (#14870064)
    I'd recommend checking out Free Pascal [freepascal.org] and the Lazarus IDE [freepascal.org]. These are based on Borland Delphi, of which I believe you can also download a free version, but these are open source and available on many platforms. The Borland products run only on Windows or Linux with KDE (using QT), the Free Pascal libraries use GTK+.

    Object Pascal is a good language for beginners. It has strong typing and object-oriented features, but the typing isn't strict to the point of being obnoxious like in Java. It is lower level, so you will deal some with pointers and memory management but it is harder to make a mess with than C/C++. You can also visually design the UI of your application, but the language isn't a disaster like VB (and doesn't run in a VM like C# or Java, so it's quick).

  • Yes ... and all the others too. (Score:3, Insightful)

    by Spectre (1685) on Tuesday March 07 2006, @04:55PM (#14870071)
    I use Visual BASIC (I choose to honor BASIC by capitalizing VB as I did), SQL, Fortran, C, Python, and Perl every week. I've written assembler for various CPUs, JCL, Smalltalk, various shell scripts, Pascal, Modula-2, MUMPS, and probably several others I'm forgetting in the past.

    Every language I've learned has been useful on the various projects I've worked on and provided a perspective for evaluating what methods to use for new development.

    Learn every language you can. You'll probably be surprised to find that you don't just get broad shallow experience, but each language actually gives you more in-depth knowledge of the others (and what they may do behind the scenes).

    VB(A) is the scripting language built into many Microsoft products. Whether or not you harbor loathing for Microsoft, knowing VB(A) will be very helpful for many tasks and may be necessary to get a paycheck from many places.
  • No. by rain9441 (Score:1) Tuesday March 07 2006, @04:57PM
  • VB4 was my first "real" programming language (I used QBASIC for years, but that doesn't really count). Since then I've used VB5, VB6, and VB.NET; I am also fluent with C/C++, Java, PHP, and a few other languages.

    The long and the short of it is this: VB ain't bad.

    People will say that Visual Basic is "unstructured," and they're clueless. People will say that Visual Basic is slow, and they're one step up from clueless (VB5 and VB6 compiled to native code and could, when used correctly, rival Win32 C++ applications for speed; VB.NET compiles to the same CLR the rest of the .NET crap does).

    My personal view of the Win32 API is that the inventor didn't like people. Window creation is needlessly masochistic. VB takes that hassle away. I've written applications where the entire backend of the program is in C++ and used the VB interface just to call C++ DLL functions. It's doable. It works pretty well.

    Basically--VB is a viable language if you want to get something done *now* and don't care all that much about whether it's pretty. Would I use it for game programming? No (once was enough, a 2D RPG for a school project in sophomore year of high school). Would I use it to write something quick and dirty that I need immediately? Sure, and I'll be done before a C++ coder even has a window up and running.

    VB also has some pretty nice features that YFTL lacks. You can run the program without compiling it, in interpreted mode--very useful for bug-ferreting. Its class system pre VB.NET was baroque at best, but its built-in garbage collection/memory allocation on-the-fly and the fact that all arrays could be dynamic without external references made it fun to mess with.

    ~Ed
  • It doesn't matter by C.Batt (Score:2) Tuesday March 07 2006, @05:00PM
  • I don't think by Giometrix (Score:1) Tuesday March 07 2006, @05:00PM
  • Yes. Just to be different. (Score:3, Insightful)

    by RingDev (879105) on Tuesday March 07 2006, @05:01PM (#14870137)
    (http://www.ringdev.com/ | Last Journal: Tuesday May 08 2007, @01:50PM)
    For starters, you just asked about a VB based syntax on /., you will recieve for the most part nothing but FUD and miss information and the pundits launch into tirades about how VB.Net is a toy compared to C# (which are both the same CLR language), Java, Ruby, PHP, Perl, and some whack job will likely even recommend Python.

    Next up. Right tool for the job. If you're interested in embedded applications, coding on linux, or high performance apps, going .Net is not going to be your tool of choice.

    And finally, to refute some pundits. VB.Net is a syntax option for coding in CLR, the same as C#, J#, PHP.Net and all the other screwy variations of *.Net. Vb.Net is every bit as Object Oriented as C# or Java. VB.Net by default has explicit and strict options off, turning those two options on makes its compiler just as strict as the C# compiler. VB.Net also has almost all of the functionality from C# (I have heard that there are some obscure pointer functions that are not in VB.Net's syntax, but I have never run into them, or the lack there of). Another one of those "What were they thinking?" items though, VB.Net has a "Hide Advanced Methods" option on by default that hides a lot of methods from the autocomplete lists, turning it off allows you to see all of the same functionality as in C#.

    The only substantial differences from VB.Net to C# is syntax Things like:
    VB.Net: Private VarName as String
    C#: Private String VarName

    VB.Net:
    If Var1 = Var2 Then
        'Code here
    End If

    C#:
    If Var1 == Var2
    { //Code here
    }

    -Rick
  • Edsgar Dijkstra by 26reverse (Score:1) Tuesday March 07 2006, @05:01PM
  • Where do you want to go with it? by dslauson (Score:2) Tuesday March 07 2006, @05:04PM
  • Not on your life by RexDevious (Score:1) Tuesday March 07 2006, @05:05PM
  • POV-Ray by cab15625 (Score:1) Tuesday March 07 2006, @05:07PM
  • Find something with a decent interpreter by Doctor Memory (Score:2) Tuesday March 07 2006, @05:09PM
  • by Stephen Williams (23750) on Tuesday March 07 2006, @05:10PM (#14870229)
    (Last Journal: Thursday December 05 2002, @05:02AM)
    VB.NET is not the same language as the VB of yesteryear. It's semantically the same as C#, just with a somewhat VB-like syntax to ease VB programmers into working with .NET.

    If you're learning to code using the .NET framework from scratch, I can see no reason to choose VB.NET over C#, unless you happen to like VB-like keywords more than Java-like keywords.

    -Stephen
  • New VB isn't old VB by billcopc (Score:1) Tuesday March 07 2006, @05:10PM
  • Does first language matter? by Crussy (Score:1) Tuesday March 07 2006, @05:11PM
  • No by Dr. Sp0ng (Score:2) Tuesday March 07 2006, @05:11PM
  • by jcwynholds (765111) on Tuesday March 07 2006, @05:14PM (#14870274)
    Python has been suggested. I also fall in the camp that say that python is probably the best learner language. Interpreter is freely available for all popular platforms. Python has enough of the niceties of VB (no strong types, easy array/dictionary construction, etc) while having enough features of a "real" programming language (shared memory, forking, etc) to teach about the concepts.

    Developing in an IDE like VS obfuscates and distances the programmer from the code. It's a necessary evil for developing some things. But throwing a learning user at the bubbly GUI to figure out the wizards for him/herself is akin to putting a new pilot in the seat of a 747. There is just too much there that would seem confusing.

    For these three reasons I would suggest python:

    1. All you need is a free (as in speech) interpreter and your favorite text editor.

    2. Documentation, howtos, sample code is easily available (there are plenty of good VB help sites out there, but I have found many many many fantastic samples of python).

    3. The syntax of VB and python would seem similar enough to a beginner.
  • You all forgot one! by codered82 (Score:1) Tuesday March 07 2006, @05:22PM
  • Advice from an old timer by lurker412 (Score:2) Tuesday March 07 2006, @05:26PM
  • Java? Try Javascript by gnalre (Score:2) Tuesday March 07 2006, @05:28PM
  • BASIC first, then the world! by fortunatus (Score:1) Tuesday March 07 2006, @05:29PM
  • Depends on how you define 'Beginner' by fbg111 (Score:2) Tuesday March 07 2006, @05:31PM
  • MS Kid's Programming Language by fbg111 (Score:2) Tuesday March 07 2006, @05:36PM
  • Loaded question... by slavemowgli (Score:2) Tuesday March 07 2006, @05:36PM
  • It depends what you mean by programmer by Curmudgeonlyoldbloke (Score:2) Tuesday March 07 2006, @05:37PM
  • Try Python by Tetris Ling (Score:1) Tuesday March 07 2006, @05:40PM
  • Dijkstra by naken (Score:1) Tuesday March 07 2006, @05:41PM
    • Re:Dijkstra by jonwil (Score:2) Tuesday March 07 2006, @10:32PM
    • 1 reply beneath your current threshold.
  • Yes, with a warning... by BRSQUIRRL (Score:2) Tuesday March 07 2006, @05:42PM
  • Start with something functional by hlee (Score:1) Tuesday March 07 2006, @05:43PM
  • Because BASIC was bad for you by sycomonkey (Score:2) Tuesday March 07 2006, @05:45PM
  • Try Perl by bryanporter (Score:1) Tuesday March 07 2006, @05:46PM
  • What's with all the machine-level advocacy? by spentrent (Score:1) Tuesday March 07 2006, @05:48PM
  • Secrets of programming by metamatic (Score:2) Tuesday March 07 2006, @05:52PM
  • Use PHP by Richard_J_N (Score:2) Tuesday March 07 2006, @05:52PM
    • 1 reply beneath your current threshold.
  • Learn Haskell! by master_p (Score:2) Tuesday March 07 2006, @05:53PM
  • Not VB..... by orion41us (Score:2) Tuesday March 07 2006, @05:53PM
  • in short: NO by wardk (Score:1) Tuesday March 07 2006, @05:56PM
  • Python then Schema by stormcoder (Score:1) Tuesday March 07 2006, @05:56PM
  • Is Pascal dead? by canoramix (Score:1) Tuesday March 07 2006, @05:56PM
  • No. by Goodgerster (Score:1) Tuesday March 07 2006, @05:57PM
  • Don't be ridiculous by Salsaman (Score:2) Tuesday March 07 2006, @05:59PM
  • hmm by SuperGhost (Score:1) Tuesday March 07 2006, @06:00PM
  • Python is the answer. by monopole (Score:2) Tuesday March 07 2006, @06:01PM
  • Looking Back by jrmiller84 (Score:1) Tuesday March 07 2006, @06:04PM
  • Java... by Pengo (Score:2) Tuesday March 07 2006, @06:07PM
  • Where to begin? (Score:5, Insightful)

    by Theatetus (521747) on Tuesday March 07 2006, @06:09PM (#14870736)
    (Last Journal: Tuesday February 24 2004, @06:10PM)

    This question is wrong in so many ways...

    • VB is badly OO and confuses the language and the library too much.
    • VB is badly OO and OO is a bad paradigm to first learn to program in (and those two wrongs don't make a right).
    • VB ties you down to using Windows, and Windows is a bad environment to learn to program in.
    • VB does memory management the wrong way from a learning perspective. Rather than specifying allocators and destructors when neccessary you simply let objects fall out of scope.
    • VB does not have first-class functions and cannot fake them: function manipulation and functional paradigms (whether direct or through hacks to fake it like function pointers or true reflection) is crucial to learning to program well and should be started as early as possible.
    • VB teaches bad, verbose naming and programming habits.

    Good beginners languages are:

    • Logo (still the best)
    • Scheme
    • Forth
    • Ruby
    • Python
    These all allow you to do basic, functionally-oriented programming and then "graduate", if need be, to large-scale OO stuff.

    I would say Common Lisp is the best, but if you start programming using Lisp you'll never truly appreciate it because you assume all languages are that well-designed.

  • No, here is why by scorp1us (Score:2) Tuesday March 07 2006, @06:10PM
  • My first language by HaMMeReD3 (Score:1) Tuesday March 07 2006, @06:10PM
  • Question: Is .NET the new VB? by maillemaker (Score:2) Tuesday March 07 2006, @06:10PM
  • Language doesn't matter by nsayer (Score:2) Tuesday March 07 2006, @06:11PM
  • I Recommend.... by TheZorch (Score:2) Tuesday March 07 2006, @06:12PM
  • VB Advantage by jonv (Score:2) Tuesday March 07 2006, @06:14PM
  • Good if you don't want to be a programmer. by Elwood P Dowd (Score:2) Tuesday March 07 2006, @06:14PM
  • NO HELL NO by tgrigsby (Score:2) Tuesday March 07 2006, @06:14PM
  • language doesn't matter that much by MORTAR_COMBAT! (Score:2) Tuesday March 07 2006, @06:15PM
  • christ no by syrinx (Score:1) Tuesday March 07 2006, @06:15PM
  • And one more option by Monster_Juice (Score:1) Tuesday March 07 2006, @06:21PM
  • C# vs. VB for beginners... by wrfelts (Score:1) Tuesday March 07 2006, @06:23PM
  • vb has one good thing going for it by circletimessquare (Score:1) Tuesday March 07 2006, @06:27PM
  • Both are bad choices for a beginner by NutsAboutOS (Score:1) Tuesday March 07 2006, @06:29PM
  • VB.NET actually runs faster than C# by Anonymous Coward (Score:1) Tuesday March 07 2006, @06:34PM
  • C# is really an hard language to teach by Assoupis (Score:1) Tuesday March 07 2006, @06:35PM
  • VB != VB.net by autopr0n (Score:2) Tuesday March 07 2006, @06:36PM
  • Why not? (Score:3, Insightful)

    Is VB a good beginner's language?

    Sure, why not? But, it depends on what you want to accomplish.

    If you want to write a windows app, a script, do some office automation, connect to a database and shuffle data around, create a Web site, or do other practical business-oriented tasks, then absolutely.

    If you want to write an operating system, then you'll want to look elsewhere.

    First, I would ask "What do you expect to accomplish and what do you ultimately want to achieve?"

    What I've learned over the years - especially from reading /. - is that people are fanatical about their language of choice. Many times to a fault.

    When I was in the military, the old timers were so proud of the way things were when they went through basic training/airborne/ranger/sniper school and how difficult it was "back then". They used to wax poetic and tell tribal stories of when they were at NTC, the drill sergeant that used to dump bunks, or the 100-mile road marches. "Things are so easy nowadays" they'd say.

    As a rule, people are very proud of their accomplishments (rightly so, I would think). Generally, people are both proud and nostalgic about their conquests, overcoming adversity, and place high value on extraordinary achievments.

    You'll read many posts here admonishing VB while extolling languages like C or C++ for what they "teach" that VB doesn't. The real trick is interpreting the value of those statements. Are they saying it's better because it's harder? Or are they saying it's better for pragmatic reasons?

    The world changes. Technology changes. Most things evolve and grow and change. Programming languages change, and it's a good thing too I should think. Could you imagine what the Web or economy would look like today if all we had was BCPL or x86 assembler? The fact that a language hides or automates certain implementaion details such as GUI layout should not necessarily be viewed as a detriment or deterrent. On the contrary, any language that can save time while still accomplishing the task or solving the problem is quite effective. Visual Basic, is relatively easy to learn, can solve many problems and many different types of problems, and dramatically reduces the time it takes to implement a solution. Due to that fact it has, directly or indirectly, facilitated a lot of economic growth by enabling companies to effectively solve problems, create software solutions, implement change, and reduce time-to-market. The fact that it's not a "difficult" language is what makes it so attractive to businesses. Difficult != Good (Difficult Good).

    Personally, I don't particularly *like* to code Visual Basic. While I've solved many problems with it, I wouldn't choose it over C# or Java. That's just me. I'm used to curly brace languages, so that's my general preference. Having said that, I would evaluate the problem I'm trying to solve before I choose. I might very well choose VB over C++ if the solution warrants it. However, I don't think my personal preferences or opinions mean much to the next person choosing a language.

    My advice is, choose Visual Basic if you really want to. Ignore the posts that tell you it's a "toy" language and remember the millions of VB programmers and tens of thousands of companies that have chosen it. I've seen some rather amazing things done in VB by my friends and colleagues - I would say it's far from being a toy. VB didn't become so popular because it's hard to use and doesn't do much. VB.NET is a fully object-oriented language. That puts it in the same terms as C#, C++, Java, Smalltalk, Ruby, Python, et al. It's not cross-platform, so you can't develop for Linux or OS X, but there may be enough challenges just learning an object-oriented language without learning the nuances of each platform at the same time.

  • Not a good beginners language by BoneFlower (Score:2) Tuesday March 07 2006, @06:40PM
  • VB never was a good language. (Score:3, Interesting)

    by Peaker (72084) <gnupeaker AT yahoo DOT com> on Tuesday March 07 2006, @06:40PM (#14870973)
    (http://slashdot.org/)
    Back in the day, its IDE was pretty good compared to all the rest. But as C++ builder, Delphi, Qt and others came along, even the IDE didn't stand out of the crowd.

    The VB language itself, as well as BASIC, are not good beginner languages. They make easy things harder, and hard things impossible. They have a lot of special-case rules that only make it harder for beginners, and they have no room for growth.

    To top it all, VB creates non-portable programs on a non-free platform.
  • For my money... by Valar (Score:2) Tuesday March 07 2006, @06:43PM
  • The last "easy to understand" version of VB was 3 by mstefan (Score:1) Tuesday March 07 2006, @06:45PM
  • VBNet Vs Command line by moochfish (Score:1) Tuesday March 07 2006, @06:45PM
  • No. by Werrismys (Score:2) Tuesday March 07 2006, @06:48PM
  • I've been using MS compiled basics since Professional Basic back in the late 80's. I've used VB, VB.NET, etc. I've used variants of it like vbscript and lotusscript. I've used turbobasic and qbasic.

    I also write in Java, and sometimes C, C++, and C#.

    Issue #1. If you're starting from scratch, why pick something owned by a single vendor?

    Issue #2. VB.NET isn't even remotely like old world BASIC. Even Quickbasic and Visual Basic were pretty much still very much like working with the original language. VB.NET just isn't. Starting fresh, there is very little difference in time and skill required to learn Java or C#.

    Issue #3. VB is the only language in common use that I'm aware of which is NOT case sensitive. That means you're going to pick up REALLY bad habbits by learning with it. Personally, I think it stupid that modern languages are case sensitive -- it smacks more of arrogance than anything else and I just don't believe it matters that much at compile time. Still, why learn the bad habbits?

    Issue #4. Personally - purely subjectively - I find Microsoft's documentation terrible, and their own support of VB to be secondary. If you don't already know what you're looking for, finding something entirely new is a nightmare with the vs.net languages. You are in a maze of web pages which all look the same. There is a mushroom growing on the way. :-)

    My recommendation would be to pick up Kathy Sierra's book "Head First Java" and download Eclipse. Eclipse, as an IDE is fantastic and fun to work in. Kathy's book is the best learn-to-code book I've ever seen, hands down. Between the two, you can be doing good work very quickly.

    Hope this helps.
  • Advantages and disadvantages by raider_red (Score:2) Tuesday March 07 2006, @06:54PM
  • No. Absolutely not. Learn Python or PHP. by brosenth (Score:2) Tuesday March 07 2006, @06:55PM
  • Alice by AusIV (Score:1) Tuesday March 07 2006, @06:56PM
  • Try SmallTalk by Atroxodisse (Score:1) Tuesday March 07 2006, @06:56PM
  • Java. VB just teaches how to be sloppy by jerryodom (Score:1) Tuesday March 07 2006, @06:56PM
  • Beginners Languages by Kirby (Score:2) Tuesday March 07 2006, @06:56PM
  • Or you just want to get some work done? If you really want to learn something, you should do it with PASCAL. Some people told you do study C, but after trying to teach it to a few people, I am fully convinced that C is not a beginer's language. PASCAL is different because you won't need to know about pointers to do quotidiane stuff, but still have manual memory allocation to study.

    To learn how to program, use PASCAL on a CLI. Don't worry about the time investment, you'll learn VB much faster after you know what you are doing. Just to finish, I'd like to put here a very true quote from Dijkstra:

    "It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration."
  • Logo. by draziw (Score:2) Tuesday March 07 2006, @06:59PM
  • VB.NET is just a mess by randomErr (Score:2) Tuesday March 07 2006, @06:59PM
  • Depends on the beginner by AgentDib (Score:1) Tuesday March 07 2006, @07:01PM
  • Scheme, anybody? by arrrrg (Score:2) Tuesday March 07 2006, @07:03PM
  • Get over it by csherriff (Score:1) Tuesday March 07 2006, @07:06PM
  • It depends what you want to learn by grrrgrrr (Score:1) Tuesday March 07 2006, @07:12PM
  • Nope, start with Pascal (Score:5, Insightful)

    by xjimhb (234034) on Tuesday March 07 2006, @07:14PM (#14871245)
    (http://teenangel.netfirms.com/)
    For a language to teach beginning programming, you can't beat Pascal. Yeah, I know it is not fashionable at the moment, but it is hard to beat as an introductory language. And there exist extended versions of Pascal (like Delphi) that do a great job on OO programmimg (beginners should worry about OO AFTER they learn the fundamentals)

  • From my experience... by Kranfer (Score:1) Tuesday March 07 2006, @07:17PM
  • Java or C# by The Waxed Yak (Score:2) Tuesday March 07 2006, @07:19PM
  • name one by grikdog (Score:1) Tuesday March 07 2006, @07:22PM
  • Stuck in M$ land by ubergeek65536 (Score:1) Tuesday March 07 2006, @07:24PM
  • Depends on where you want to go. by Opportunist (Score:2) Tuesday March 07 2006, @07:27PM
  • You need to complete the question by mustafap (Score:2) Tuesday March 07 2006, @07:27PM
  • learning a computer language ....why bother anyway by virtualthinker (Score:1) Tuesday March 07 2006, @07:32PM
  • Java is superior by FoxyFox (Score:1) Tuesday March 07 2006, @07:33PM
  • Define "Beginner" by shoemakc (Score:2) Tuesday March 07 2006, @07:37PM
  • The Worst language to teach: Perl by FoxyFox (Score:1) Tuesday March 07 2006, @07:37PM
  • learning languages by koutkeu (Score:1) Tuesday March 07 2006, @07:40PM
  • javascript to teach very basics by mr_burns (Score:2) Tuesday March 07 2006, @07:40PM
  • Logo by jbolden (Score:2) Tuesday March 07 2006, @07:52PM
  • Windows Only by SnarfQuest (Score:2) Tuesday March 07 2006, @07:54PM
  • Keep in mind that VBA is used with MS-Office applications, and VBScript is used on IE designed web pages which are related to Visual BASIC. Learning one, can help you learn the others.

    Visual BASIC.NET was a rewrite of Classic Visual BASIC, which added in C++ type error trapping, objects, and other things that many have criticised Classic Visual BASIC for not having. Many VB developers want Microsoft to continue to support Visual BASIC 6.0 or Classic Visual BASIC, but Microsoft wants to move on.

    BASIC stands for Beginners All Symbolic Instruction Code, the first word is for beginners. It was not designed to be anything but a learning tool, like Pascal, Pilot, and many other languages were designed to be. Microsoft used it for early Microcomputers, and then made a GW-BASIC version of it for MS-DOS and then later QBASIC or Quick BASIC for MS-DOS 5.0 and above. Many considered GW-BASIC and QBASIC to be free versions of BASIC and developed for them. Microsoft released Visual BASIC 1.0 and many BASIC developers adapted to it. I recall learning MS-Access 1.0 and using a form of Visual BASIC for applications for it, which they called Access BASIC or something.

    Borland picked up the Pascal craze, in colleges they taught Pascal for data structures courses. There was UCSD Pascal, but Borland came out with Turbo Pascal and it worked faster than most Pascal compilers. Object Pascal became Delphi by Borland, and it is still popular and a competitor to Visual BASIC. Free Pascal tries to use Object Pascal to be more like Delphi and the Lazarus project uses an IDE with Free Pascal to work like Delphi or Visual BASIC.

    I think there is an XBASIC out there that works like Classic Visual BASIC. Someone made a GNOME BASIC. The Novell Mono project has a Visual BASIC.NET language which is used on Windows, Linux, Mac OSX, *BSD Unix, etc.

    The whole argument against Visual BASIC is now moot. Classic Visual BASIC lacked proper OOP, but Visual BASIC.NET fixes that, but at the cost of learning new programming methods and syntax for Classic Visual BASIC developers. While designed for beginners, Visual BASIC has extended itself. Visual BASIC.NET uses a compiler very much designed like C# or C++ to compile into IL (Interprited Language) code (which is like assembly language) to run on the .NET Framework, and it is turned into native code in the final compiltion. Visual BASIC.NET no longer has the bottleneck that Classic Visual BASIC had, and as a result it runs faster.

    You will be shocked to find that most businesses use Visual BASIC.NET for the same reasons that they used to use COBOL, it is easy to learn, uses English words, and almost anyone can learn it.

    Still don't discount C#, C++, Java, Python, Perl, and many others, they can interface with Visual BASIC via the .NET framework. Visual BASIC can be used as a stepping stone to a different language, or it can be used for main development.
  • It's good for learning on, that much is true.... by lightningrod220 (Score:1) Tuesday March 07 2006, @07:56PM
  • Why sure. by slashdot_commentator (Score:2) Tuesday March 07 2006, @07:57PM
  • It's the logic stupid by alijsyed (Score:1) Tuesday March 07 2006, @07:58PM
  • Interview Question by Cat 99 (Score:2) Tuesday March 07 2006, @07:59PM
  • That Depends ... by JPyObjC Dude (Score:2) Tuesday March 07 2006, @08:00PM
  • oh visual basic, i miss you so... by intthis (Score:1) Tuesday March 07 2006, @08:06PM
  • Learn C# without Visual Studio by tetranz (Score:2) Tuesday March 07 2006, @08:07PM
  • SmallBASIC by justthisonething (Score:1) Tuesday March 07 2006, @08:07PM
  • look at the issues by kabaju42 (Score:1) Tuesday March 07 2006, @08:09PM
  • I can explain I think..... by Zphbeeblbrox (Score:2) Tuesday March 07 2006, @08:14PM
  • Whichever language you choose, don't by Man in Spandex (Score:2) Tuesday March 07 2006, @08:15PM
  • Vb never was a good beginner's language by Xtravar (Score:2) Tuesday March 07 2006, @08:16PM
  • junior developer by andyatkinson (Score:1) Tuesday March 07 2006, @08:27PM
  • Matlab Anyone? by MicrowavedH2O (Score:1) Tuesday March 07 2006, @08:30PM
  • Good for beginners? Never was. by Canordis (Score:1) Tuesday March 07 2006, @08:31PM
  • NO! by nektra (Score:2) Tuesday March 07 2006, @08:32PM
  • Is it a good beginner's language? by jafac (Score:2) Tuesday March 07 2006, @08:34PM
  • Try some of the different languages... by TheIndifferentiate (Score:1) Tuesday March 07 2006, @08:45PM
  • Old-fashioned Basic is better by logicpaw (Score:1) Tuesday March 07 2006, @08:46PM
  • Is it a good beginner's language? (Score:4, Insightful)

    by syukton (256348) on Tuesday March 07 2006, @08:46PM (#14871843)
    Is it a good beginner's language? Hell no it isn't. It gives the programmer unrealistic expectations of what can be achieved with the computer. Too many of the inner workings of the computer are withheld from the programmer for them to really understand how things WORK.

    Personally, I think it's a toy language because it separates the programmer from the bare metal of the machine, with too many layers of abstraction, confining the programmer to a "digital playpen" much as you would confine an infant. I have similar feelings about C#.

    I started with C64 BASIC, moved on to C, then C++, then I learned MSVC and VB at about the same time, and after that I picked up ASM.

    I really think I learned a lot by following that path, and I'm glad I learned how much work went into writing a GUI long before I dragged and dropped my first VB app.
  • Go with C# by hoppo (Score:1) Tuesday March 07 2006, @08:47PM
  • Begginers shouldnt learn a language by ferespo (Score:2) Tuesday March 07 2006, @09:01PM
  • VB is okay if... by salesgeek (Score:2) Tuesday March 07 2006, @09:04PM
  • Use the Right tool for the job by ActionAL (Score:1) Tuesday March 07 2006, @09:14PM
  • The Society of Languages by yerdaddie (Score:2) Tuesday March 07 2006, @09:19PM
  • VB Rots the brain by kilodelta (Score:2) Tuesday March 07 2006, @09:19PM
  • C, C++ by Sparcler (Score:1) Tuesday March 07 2006, @09:25PM
  • In-depth answer (Score:3, Funny)

    by Trogre (513942) on Tuesday March 07 2006, @09:27PM (#14872026)
    (http://slashdot.org/)
    no

  • by alispguru (72689) <bane@@@gst...com> on Tuesday March 07 2006, @09:30PM (#14872044)
    (Last Journal: Thursday November 13 2003, @03:44PM)
    You can become a decent programmer starting from any language, as long as you ultimately:

    * learn several languages

    * learn languages with widely differing characteristics

    * learn them well enough, i.e. you don't know a language until you've used it for at least one non-trivial task

    * take a data structures and analysis of algorithms course, after you know at least two languages

    Most of the people I would consider bad programmers know only one language, or know one well and others very superficially, like the engineers who can write Fortran in any language*.

    To show what it's possible to overcome, I started out with BASIC in high school. BASIC does not cause permanent brain damage, if you limit your exposure to it.

    Before college I had moved out to assembly (PDP8); in college I was exposed to COBOL, FORTRAN, PL/I and 360 assembler. In graduate school I moved up to Pascal and C, but I also finally took a decent algorithms and data structures course - and learned Lisp. Those last two things were probably as important as all the previous experience in making me the hacker I am today.

    * This is not meant to be a slur on all engineers who program when necessary - just the ones who do it badly, over and over again.

  • I wouldn't suggest VB as a first girlfriend by mysta (Score:1) Tuesday March 07 2006, @09:36PM
  • OOP !=Good/Big/Serious (Score:3, Interesting)

    by Tablizer (95088) on Tuesday March 07 2006, @09:39PM (#14872079)
    (http://www.geocities.com/tablizer | Last Journal: Saturday March 15 2003, @01:22PM)
    Anyways, Microsoft made good on their promise and transformed VB from an easy to learn language into an object oriented power house, with lots of OOP functionality thrown in.

    The implication seems to be that OOP makes something "serious" or "better". I have to disagree with that. OOP has not objectively proven to improve business apps. I agree it may work well for systems software where interfaces tend to be more stable, but that does not extrapolate to biz apps very well where the "swappable device driver" viewpoint does not really apply and hierarchical taxonomies are inferior to set-based taxonomies. Set-based taxon.'s are just a better fit for biz apps because they don't hard-wire mutual-exlusiveness into the groups. Polymorphism is ugly or out-right does not work with set-based taxonomies. If you don't believe me, try it.
  • err by smash (Score:2) Tuesday March 07 2006, @10:06PM
    • Re:err by KnightStalker (Score:2) Wednesday March 08 2006, @02:13AM
  • It all depends on who you ask... by One Blue Ninja (Score:1) Tuesday March 07 2006, @10:07PM
  • Javascript 2.0 by Wolfier (Score:2) Tuesday March 07 2006, @10:21PM
  • CS Snobs by austinpoet (Score:1) Tuesday March 07 2006, @10:34PM
  • Does it matter? by ChronoFish (Score:1) Tuesday March 07 2006, @10:40PM
  • VB.NET is LAME by MikeWin10 (Score:1) Tuesday March 07 2006, @11:01PM
  • VB's problems demystified by csshyamsundar (Score:1) Tuesday March 07 2006, @11:16PM
  • Additional Thoughts by MikeWin10 (Score:1) Tuesday March 07 2006, @11:22PM
  • Personal Experience Speaking... (Score:4, Insightful)

    by TheNetAvenger (624455) on Tuesday March 07 2006, @11:24PM (#14872500)
    Personal Experience Speaking...

    VB is pretty good at teaching programming or getting people started in programming. Being a modern 'basic' it can allow people to get the initial concepts of variables, and put them to use in a syntax that reads like common english language, yet not leave them making a turtle follow lines around a screen.

    The simplicity is also good to find the 'clicks' or points where people get it. When not teaching this stuff you forget these clicks, even explaining concepts as variables is something that is hard for some people to catch, even if they understand algebra.

    VB also can do some fairly advanced things now, especially with the current .NET incarnation, in upper level application development.

    A person could start with no programming background, do the hello world, and stick with VB and make a career from it producing ok software.

    Pascal is also another easy to understand language (designed to be a learning language even), and it with Borland's support can be almost as powerful as C/C++. So it is another good starter language that a career can be made from - especially Europe, Delphi does quite well there in comparison to the US.

    I have taken a couple of roads with people, using either VB or Pascal as the 'get it' starting language.

    Then I progress them to some advanced levels in each language, and along the way contrast in another language, C is the poster child here for the contrast. It can show complexity and also levels of creativity not normally used in the other languages. Useful comparisons to stuff they are currently learning as well as 'wows' like a line of C code that is very complex and recursive, but performs as much as an advanced program.

    This lets them 'click' along the way, and will hopefully keep perspective and the certain 'creative' element that syntax complexity of C draws out of people.

    The 'creative' complexity has to be nurtured, even if you are keeping people in Pascal or VB for their career (or they are not going past that). It was the creative of 'how to make it work' concepts that are so dominate in C that define 'good programmers', because in the old days, we had to make it work.

    Yes it is nice to drag a button on the screen and have the IDE do the work for you, but without some of the 'creative' what ifs, and 'how can we' questions, programmers won't be more than glorified form designers, and that is sad for them to invest time in learning something and not fully getting it from both angles. (The logical syntax and function and the creative inspiration of thinking outside the box.)

    Programming is one area of expertise that definately benefits from bridge-brain individuals. Creative Logic at its finest...

    And sadly if the person you are teaching don't fully click in either direction (logic or creative) then you lead them down the road they are good at, and let them pair with a person or team that fills in the other side...
  • pascal/C/JAVA by tute666 (Score:1) Tuesday March 07 2006, @11:26PM
  • Oh no. Oh Hell no. by darthlurker (Score:2) Tuesday March 07 2006, @11:37PM
  • Go for C# by crazee_cruzer (Score:1) Tuesday March 07 2006, @11:41PM
  • Why does BASIC cop so much flak? by SurturZ (Score:2) Wednesday March 08 2006, @12:20AM
  • Don't be a namby pamby! by Ferment (Score:1) Wednesday March 08 2006, @12:23AM
  • The real beginner's language ... by ozone_sniffer (Score:1) Wednesday March 08 2006, @12:24AM
    • 1 reply beneath your current threshold.
  • Well by woolio (Score:2) Wednesday March 08 2006, @12:29AM
  • C# by Money for Nothin' (Score:2) Wednesday March 08 2006, @01:11AM
  • VB is crap by Crazen (Score:1) Wednesday March 08 2006, @01:13AM
  • by Ztream (584474) on Wednesday March 08 2006, @01:51AM (#14873017)
    Question: Is Visual Basic still a good beginners language?
    Answer: Mu.
  • Heres why it is considered a "toy" by Savaticus (Score:1) Wednesday March 08 2006, @02:33AM
  • The ancient question again... by Hosiah (Score:2) Wednesday March 08 2006, @02:34AM
  • Hmm ... by LupusCanis (Score:2) Wednesday March 08 2006, @02:42AM
  • Hell, no, to both by blang (Score:2) Wednesday March 08 2006, @02:47AM
  • The best starting out language is ... by chris_sawtell (Score:2) Wednesday March 08 2006, @03:48AM
  • Yes by Anonymous Coward (Score:1) Wednesday March 08 2006, @03:50AM
  • What kind of "Beginner" by drolli (Score:1) Wednesday March 08 2006, @04:12AM
  • BASIC, yes; "Visual Basic", no... by mangobrain (Score:1) Wednesday March 08 2006, @04:12AM
  • Big Time Wiseguy by theolein (Score:2) Wednesday March 08 2006, @04:22AM
  • by Numen (244707) on Wednesday March 08 2006, @04:24AM (#14873401)
    ...on the basis that it's the fastest route to getting a computer to do something either mildly impressive for the first time or mildly useful for the first time. Also once the Beginner has a reasonable grasp of Prolog they'll have a lot of exposure to principles that would be considered advanced to the Beginner starting with Java/C# or Python/Ruby etc.
  • Concepts come first (Score:3, Insightful)

    by faid (959730) on Wednesday March 08 2006, @05:11AM (#14873563)
    I'm a programming teacher. I've found that the first language that students learn steers their mind in learning coming languages. If they learn perl first and then java, they tend to try to write java programs as if it was perl. If they learn java and then perl, they try to write perl as if was java.

    This is important, because a language that forces you to think in a sane way from the beginning will make you write better code in the future, regardless of which language you then use.

    My first recommendation for choosing a beginner language is thus: whatever you do, don't choose a language with sloppy type checking and/or sloppy syntax. Force the students to learn that explicit variable declarations, explicit type casts and explicit data structures are good things.

    A large perl application structured in an object-oriented fashion, containing explicit variable declarations and care taken to type casts will be a lot easier to maintain than the same application without these features, eventhough the conceptual functionality can be the same. I would thus prefer a student who learned java as a first language to write that perl application in front of a student who learned perl as a first language.

    The conclusion of this is that languages like perl, python, C and visual basic are poor choices for first languages. Languages like java, pascal and delphi are good choices for first languages (eventhough the latter two are a bit dated in regards to object-orientation).
  • Neither VB nor C# by jandersen (Score:2) Wednesday March 08 2006, @05:24AM
  • What does this B in VB mean? by Zaatxe (Score:1) Wednesday March 08 2006, @06:02AM
  • Both to expensive by CuteAlien (Score:2) Wednesday March 08 2006, @06:45AM
  • Snobbish Arseholes by galdrin (Score:1) Wednesday March 08 2006, @06:58AM
  • My biggest problem with VB by Qbertino (Score:2) Wednesday March 08 2006, @07:57AM
  • Pascal is the best teaching Language by Anonymous Coward (Score:1) Wednesday March 08 2006, @08:10AM
  • begginer should learn outsourcable skills by Coeurderoy (Score:1) Wednesday March 08 2006, @09:19AM
  • I'd recommend neither by danpsmith (Score:2) Wednesday March 08 2006, @10:39AM
  • by chicovstheworld (744350) on Wednesday March 08 2006, @10:54AM (#14875452)
    First off, VB isn't a good programming language, period, let alone a good one for beginners.

    As there isn't one good language for every programming task, there isn't one good language for teaching everything in CS. My thoughts:
    • You want to teach the UTTER basics (basic syntax, simple input/output, logic, flow control, iteration), use python, perl, or ruby. It'll get students' feet wet real quick, and show them that programming, above all, is fun, without intimidating them too much.
    • You want to teach memory management, pointers, basic data structures, and hardware? Use C.
    • You want to teach OOP? Use Java.
    • You want to really, really learn how all that hardware works (along with compilers, linkers, etc.)? Use assembly.
    • You want to teach recursion and some of the real art and beauty in programming? Use Lisp.
  • Helps grab interest by supermank17 (Score:2) Wednesday March 08 2006, @10:59AM
  • Best Order of Languages by BigRare (Score:2) Wednesday March 08 2006, @11:06AM
  • It could be, but it's seldom taught that way. by Gabagaba (Score:1) Wednesday March 08 2006, @01:02PM
  • re: Learning VB by richpulp (Score:1) Wednesday March 08 2006, @01:34PM
  • It's a "toy" because it's the opposite of portable by Anonymous Coward (Score:1) Wednesday March 08 2006, @01:35PM
  • Going from console/shell to Window apps by maxII (Score:2) Thursday March 09 2006, @01:51AM
  • Why would you ask a question like this on slashdot by skrowl (Score:2) Thursday March 09 2006, @02:54PM
  • You deserve an answer (if you haven't got one yet) by spycker (Score:1) Friday March 10 2006, @12:04AM
  • Let's stop referring to it as a programming language too, please.

    I sympathise with your sentiments, but VB is a turing machine just like all the rest of them [sourceforge.net]
    [ Parent ]
  • I hate when people make statements sound like questions and vice versa?
    [ Parent ]
  • Re:No. by cryptomancer (Score:1) Tuesday March 07 2006, @05:14PM
  • Worked for me. (Score:3, Funny)

    by Stoutlimb (143245) on Tuesday March 07 2006, @05:44PM (#14870521)
    "Honey, you'll still be a virgin if you do it THIS way..."

    Worked for me.
    [ Parent ]
  • Edsger Dijkstra is (was?) an asshole. by Qbertino (Score:2) Wednesday March 08 2006, @07:29AM
  • 45 replies beneath your current threshold.
(1) | 2 | 3