Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   How Did You Learn How To Program? (http://www.chiefdelphi.com/forums/showthread.php?t=85014)

davidthefat 06-04-2010 15:43

How Did You Learn How To Program?
 
So how did you learn? Especially to you LabView people, how did you learn? :rolleyes: Honestly looking at it, I can't figure it out... I learned C++ from books I picked up from the library and it just stuck on to me, and Java came easily, I am in the AP Computer Science class at my school... But how did you learn LabView? I cant figure it out, seriously, C++ looks easier than lab view...

kgzak 06-04-2010 15:51

Re: How Did You Learn How To Program?
 
I stared by taking a Visual Basic Class at my school. Our robotics team needed more programers so I just played around with it for a little while (3 hours) and I had a tank drive and shooter programed last year. I thought it was easy. There were so many examples that I looked at. Have you gone through any of them?

dag0620 06-04-2010 15:52

Re: How Did You Learn How To Program?
 
Me, well I was given a crash course on Lab view, then had a copy of the FRC edition thrusted into my hands, was told to install it on my laptop, and repeat what I learned (this is all thanks to Todd).

From there I just started to play with it in my free time. Whenever I got really stuck (the Help File and Online Recourses wouldn't work) I would go to my College Mentor and asked him. The only reason I did this is I sorta had to learn on the Job. We had one other programmer, and he had a stressful season as it was having to do everything but Autonomous.

Edit: While this is how I mostly learned, it was more or less the need to have to learn on the Job. If anyone happens to know of some great classes to learn more LabView (as well as C++ and Java) I would appreciate it if you posted them here.

SavtaKenneth 06-04-2010 15:52

Re: How Did You Learn How To Program?
 
I personally took an open university course in OOP and Java. However it got really rusty until I started taking CS in my school which gave me a lot of practical experience. I got some C++ experience from talking to our more senior members of the programming team.

davidthefat 06-04-2010 15:53

Re: How Did You Learn How To Program?
 
Quote:

Originally Posted by kgzak (Post 949289)
I stared by taking a Visual Basic Class at my school. Our robotics team needed more programers so I just played around with it for a little while (3 hours) and I had a tank drive and shooter programed last year. I thought it was easy. There were so many examples that I looked at. Have you gone through any of them?

Yea it was a breeze to program in Java the hard part was trying to debug it, because it might not even be your code at all, but electrical, so it took a simple problem like an hour to fix... I was trying to fix whats not broken and just messes everything up... Other than that, it was really easy, I just cant understand how people can use LabView...

jmanela 06-04-2010 16:06

Re: How Did You Learn How To Program?
 
Before Last Year, i have never programmed any language in my life (except for HTML in 5th grade). There was a kid starting a robotics team at my school, and i thought it would be cool to sign up and build some robots. I signed up and there was no one to program the robot. I played around with LV a little bit, and a little bit more, until i logged about 100 hours of LV. After that, i learned C++, VB and Java. But as i have learned, you are NEVER done learning how to program, every time you drag that box, or write that next line of code, there is always much much more to learn, or at least, a different way to code what you just coded.

kgzak 06-04-2010 16:07

Re: How Did You Learn How To Program?
 
Quote:

Originally Posted by davidthefat (Post 949295)
Yea it was a breeze to program in Java the hard part was trying to debug it, because it might not even be your code at all, but electrical, so it took a simple problem like an hour to fix... I was trying to fix whats not broken and just messes everything up... Other than that, it was really easy, I just cant understand how people can use LabView...

Debugging can be difficult but my dad, one of the programing mentors, is an electrical, mechanical, and software engineer. He has experience and normally knows were to look. I learned LabView simply by being able to play with it. I didn't find it hard to understand. I have no experience with Java, so I don't know how hard Java is. If you just play around with it, maybe you can learn to understand it.

davidthefat 06-04-2010 16:08

Re: How Did You Learn How To Program?
 
Quote:

Originally Posted by jmanela (Post 949299)
Before Last Year, i have never programmed any language in my life (except for HTML in 5th grade). There was a kid starting a robotics team at my school, and i thought it would be cool to sign up and build some robots. I signed up and there was no one to program the robot. I played around with LV a little bit, and a little bit more, until i logged about 100 hours of LV. After that, i learned C++, VB and Java. But as i have learned, you are NEVER done learning how to program, every time you drag that box, or write that next line of code, there is always much much more to learn, or at least, a different way to code what you just coded.

The last part is true, technology is evolving every day, you can even say programming is an art

kgzak 06-04-2010 16:09

Re: How Did You Learn How To Program?
 
Quote:

Originally Posted by jmanela (Post 949299)
Before Last Year, i have never programmed any language in my life (except for HTML in 5th grade). There was a kid starting a robotics team at my school, and i thought it would be cool to sign up and build some robots. I signed up and there was no one to program the robot. I played around with LV a little bit, and a little bit more, until i logged about 100 hours of LV. After that, i learned C++, VB and Java. But as i have learned, you are NEVER done learning how to program, every time you drag that box, or write that next line of code, there is always much much more to learn, or at least, a different way to code what you just coded.

Me and my dad have competitions to see who can write the best code :cool: It's amazing to see how many different ways to code something.

davidthefat 06-04-2010 16:10

Re: How Did You Learn How To Program?
 
Quote:

Originally Posted by kgzak (Post 949300)
Debugging can be difficult but my dad, one of the programing mentors, is an electrical, mechanical, and software engineer. He has experience and normally knows were to look. I learned LabView simply by being able to play with it. I didn't find it hard to understand. I have no experience with Java, so I don't know how hard Java is. If you just play around with it, maybe you can learn to understand it.

No I was saying that the problem was electrical all along and I change my code (which is correct) but it becomes wrong and too much headaches... Yea I agree, programming is mostly from experience... Big companies rather have the person with 4 year experience in programming than a kid with 4 years of education but 0 years on real programming experience...

Alan Anderson 06-04-2010 16:14

Re: How Did You Learn How To Program?
 
I learned how to program by emulating examples. I got good at programming by writing programs. I got very good at programming by writing programs in collaboration with other programmers, where each piece of software was treated as a contract to perform a specific task given certain conditions.

I learned LabVIEW by reading the documentation, following the examples, and going through the provided tutorials. I know a lot about how it works, I can usually make it do what I want, and I can often do a good job of explaining to others how to make it do what they want. I'm not at the level of proficiency where I can just wire things up without first doing some analysis and planning.

David, I believe you will always have trouble with LabVIEW until you set aside what you already "know" about programming. You can't understand a dataflow language well by attempting to apply concepts from procedural programming languages; you'll likely get stuck on the superficial similarities and fail to grok the true nature of things. Go through the online videos with an open mind and as little preconception as you can.

jmanela 06-04-2010 16:21

Re: How Did You Learn How To Program?
 
Quote:

Originally Posted by dag0620 (Post 949291)
Edit: While this is how I mostly learned, it was more or less the need to have to learn on the Job. If anyone happens to know of some great classes to learn more LabView (as well as C++ and Java) I would appreciate it if you posted them here.

I found that FRC Mastery helps greatly.

Mori1578 06-04-2010 16:22

Re: How Did You Learn How To Program?
 
I learned JAVA (my first programming language) 3 or 4 years ago alone, because my programming class was way too slow.
After two years programming in java we started our FRC team and as a very small team i was the only one on the electronics and programming.
Because we started our team two weeks after the kickoff, i didnt have the time to go to a LabView course or something like that.
I watched a "how to make a simple motor vi with joystick" video in NI's website and understood the basic code, and then - everything is the same in LabView.
I made myself a testing enviroment - took all the electronics and connected them and tried different codes. After two weeks of this i could program the 2009's robot.
Good luck :)

Chris Hibner 06-04-2010 16:26

Re: How Did You Learn How To Program?
 
My experience is pretty similar to Alan's. I learned all of the text based languages from books and a lot of trial programming.

As for LabVIEW, I learned it from the LVmastery tutorial videos. Those are great. Other than those videos, it's been looking at examples and some good old-fashioned trial and error. I'm waaaaaaaaaay far from a LabVIEW expert, but I've been able to make it do what I want with relatively little effort. I think I spent a total of 3 hours watching the videos and that is all it took to start doing some cool stuff. That is what makes the dataflow languages pretty nice - you don't need big books and days of learning. They are made to be very intuitive from the start and the need to memorize the details of the syntax is mostly eliminated.

ideasrule 06-04-2010 16:43

Re: How Did You Learn How To Program?
 
I learned C++ by looking through tutorials and Java in a class, but like most others here, I just looked through the Labview examples to learn Labview. I can program in Labivew now, but I'm not used to its format and always get confused by the mess of wires I create.


All times are GMT -5. The time now is 03:36.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi