Announcement

Collapse
No announcement yet.

Language to learn?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Language to learn?

    Sorry if this has been covered before... or if it's in the wrong place, or whatever...

    I'm an electrical engineering student, but I constantly find myself wishing I could do more with computer programming to support my electronics projects (interface software, etc)... I have a decent amount of programming experience, and I find programming relatively easy to learn...

    but I'm just wondering what language would I benefit most from learning? For starters, I would mainly want to be able to do some real basic GUI stuff (simple windows, buttons, text boxes, and maybe some serial communication) for my existing projects, but I would also like to pick a language that would be quite useful once I get more experienced with it, especially for things like making plugins/etc for the various frontends out there.

    I know VB is an easy way to get the simple boxes/buttons/serial stuff that I want right away, but I don't feel like it would be very useful down the road... I am leaning toward VC++, but I'm also looking at VC# and some others... (I do have C++ and VB experience, among other languages, so i'm not just starting from scratch, nor am I a complete moron when it comes to programming)

    so... any input? I'd just like to put effort into learning a language that at least gives me the opportunity of contributing to the carputer software scene when I get the hang of using it...
    But don't take it from me! here's a quote from a real, live newbie:
    Originally posted by Viscouse
    I am learning buttloads just by searching on this forum. I've learned 2 big things so far: 1-it's been done before, and 2-if it hasn't, there is a way to do it.
    eegeek.net

  • #2
    Java or .NET 2.0 (C#, VB, VC++)

    http://lab.msdn.microsoft.com/express/default.aspx
    EWF, HORM, MinLogon on XP.

    Zotac ION Atom N330, 2GB low-profile RAM, M3-ATX
    Win Embedded Std 2011 RC
    OCZ Vertex Turbo 30GB SSD
    Lilliput 629 Transflective, WRX Screen Mount
    BlueSoleil BT, i-Blue GM-2 GPS, DirectedHD Radio, Andrea Mic
    VoomPC 2

    Comment


    • #3
      Java
      Its not the cards you're dealt, its how you play the hand!

      Originally posted by ryuandwings
      Where can I get a roll of tin foil?
      I been looking for that all over the net, but I can't find it.
      Please help.

      Comment


      • #4
        If you want the easiest and quickest platform (that is just as powerful as anything else), then I recommend starting in Delphi 7.0. It is much easier to use then VB (IMHO). It is not super popular, but there is still tons of freeware components and you can use ActivX controls in it as well. If your looking for what most people are using today, I guess it's Java, C++, and .NET stuff.

        The things is though, once you know one you can basically learn any other syntax just by looking at some example code.

        Comment


        • #5
          C++ if you want to do lots of interfacing with your electronics stuff.
          If you go with a .NET make sure you get a .NET 2.0 book since 2.0 will soon be out.
          AMD XP 2600+/512MB RAM/120GB hard drive
          Opus 150W/DVD/GPS/7" Lilliput TS/802.11g/Bluetooth
          Installed.


          -GPSSecure- - GPS Tracking
          -AltTabber2.2.2- - Handy touchscreen utility.

          Comment


          • #6
            I am by no means a programmer but I am passing on the advice given to me by friends/colleagues: C++
            That is what was recommended to me, and I have a book and have read the intro and first chapter and it is pretty straightforward.
            BTW the book I have is the Dietel & Deitel (i think) textbook. I am supposed to be getting another book from a friend soon that is supposed to be better, I will let you know if it is.
            Carputer status: [-*---------]
            Im thinking laptop...

            Comment


            • #7
              C# or VB.NET, no go for C#

              Test drive VisualStudio 2005 for free: http://lab.msdn.microsoft.com/vs2005/

              Comment


              • #8
                thanks for the opinions guys. I was just looking at the free versions of visual studio 2k5, looks pretty good. I will look into delphi a little, but it seems like C++ is probably my best choice, which is OK because I already have a good amount of experience with it...

                I guess next I have to figure out what this .NET thing is all about if someone could give me a quick rundown, that'd be nice, I googled it the other day but didn't find much info on what advantages/opportunities it provided in terms of the kind of stuff I'd be doing (electronics interfacing, and later on, more carputer-type software)

                and what's so good about C# as compared to C++? (again, in terms of the kind of stuff I'd be using it for)
                But don't take it from me! here's a quote from a real, live newbie:
                Originally posted by Viscouse
                I am learning buttloads just by searching on this forum. I've learned 2 big things so far: 1-it's been done before, and 2-if it hasn't, there is a way to do it.
                eegeek.net

                Comment


                • #9
                  well as I said, I already know a decent amount of C++, so it would be a matter of shifting from C++ to C#, not the other way around...

                  and as far as the basic stamp goes... well I have been using PIC microcontrollers for years (the BASIC stamp is nothing but a PIC on a little board with some extra circuitry) and I already have a couple C compilers for them so no problems there. In my projects, I have little trouble getting the microcontroller/real world electronics side working, it's just the PC interface software side that cripples me. It's sad, when I do serial interfacing and stuff I have to change my microcontroller code to adapt to work with the crappy PC software I come up with, when it should be the other way around.

                  but what are the advantages of C# with this kind of stuff? is it better for GUI/windows API stuff than C++? (windows, buttons, text boxes, sliders, etc... all the crap that's drag and drop in VB, and pages of code in C++)
                  But don't take it from me! here's a quote from a real, live newbie:
                  Originally posted by Viscouse
                  I am learning buttloads just by searching on this forum. I've learned 2 big things so far: 1-it's been done before, and 2-if it hasn't, there is a way to do it.
                  eegeek.net

                  Comment


                  • #10
                    As a professional programmer, I suggest going for C++. And the book shizzle recommened (Dietel & Deitel) is a good book and thats what we here on base (Air Force Base) use.

                    (Jokingly) Or if your really adventurous, go with ASM. LOL!!!
                    Just because I haven't posted alot doesn't mean I haven't searched and know what I am talking about!

                    Progress Meter [███████████] 2%

                    General layout design is done in my head. Just need the money to buy the stuff and start building.

                    Comment


                    • #11
                      I would recommend c#.net as you already have VB experience you will find a lot of similarities between the two.

                      I have experience on the following languages

                      VB / ASP
                      Visual C++
                      VB .NET
                      ASP .NET
                      C++ .Net
                      C# .Net
                      J# .Net
                      Delphi

                      and for someone planning to get into programming i would only recommend VB, C# or Delphi, unless you have the cash to pay for a decent course that will give you a decent grounding in other languages, although saying that the resources are out there on the interweb
                      www.streetrace.co.uk - The UK's best modified car club (With lots of 16/17/18 year olds for scouse to abuse)

                      Comment


                      • #12
                        okay, I'll look into C# then, thanks for the info. But I'd still like to get a few basic reasons why C# would be better for me than C++... since i don't really know much about C#
                        But don't take it from me! here's a quote from a real, live newbie:
                        Originally posted by Viscouse
                        I am learning buttloads just by searching on this forum. I've learned 2 big things so far: 1-it's been done before, and 2-if it hasn't, there is a way to do it.
                        eegeek.net

                        Comment


                        • #13
                          UI work in .NET (VB.NET and C#) is much easier to deal with and more powerful in the long run (since you spend less time dealing with the basics). I would download the new VisualStudio Express IDE's I linked in my first reply. Also, make use of MSDN. It has lots of information useful for both beginners and experienced developers.
                          EWF, HORM, MinLogon on XP.

                          Zotac ION Atom N330, 2GB low-profile RAM, M3-ATX
                          Win Embedded Std 2011 RC
                          OCZ Vertex Turbo 30GB SSD
                          Lilliput 629 Transflective, WRX Screen Mount
                          BlueSoleil BT, i-Blue GM-2 GPS, DirectedHD Radio, Andrea Mic
                          VoomPC 2

                          Comment


                          • #14
                            Okay, cool. I downloaded the express IDE but the computers at work are running XP SP1 so I can't install it here. I'll have to play with it at home instead.
                            But don't take it from me! here's a quote from a real, live newbie:
                            Originally posted by Viscouse
                            I am learning buttloads just by searching on this forum. I've learned 2 big things so far: 1-it's been done before, and 2-if it hasn't, there is a way to do it.
                            eegeek.net

                            Comment


                            • #15
                              Go for C#, it's not that far from C++. And you don't have to wory about the boring part like memoty alocation and stuff, C# take care of that for you.

                              Comment

                              Working...
                              X