Hey! I am starting to take my first JAVA and C++ programming class in college and I want to get really good at it! I am sure most of you guys are expert programmers and I want some advice! Whats the best way to learn programming? Can you recommend any good computer science blogs, forums, newspapers, etc where I can say updated and knowledgeable? Any other tips and tricks are welcomed! Thanks for your help!
Comments
Belongs in the dev corner but as always...
Bookmark the website that has info on the standard library. I know for C++ a good one is Cplusplusdotcom and for tuts you could use this. i have no idea about java.
Umm...Think of something simple to make and just look at how you could make it from there. Also C++ AND java? o.O A bit confused why start with two languages o.O
''/\/\'' Posted using Iphone bunni
( o.o)
(")(")
**This bunny was cloned from bunnies belonging to Gobla and is part of the Quizzical Fanclub and the The Marvelously Meowhead Fan Club**
I agree with the Bunny, I used cplueplue when I was in college to programming C++, very reliable software for programmers.
Remember you have functions. A function is suppose to do 1 task well. Try to think of them that way instead of making them too big. A function with only 1 line of code is fine as long as it does what it says it does. It will make debugging easier. Also remember to comment and write code cleanly. The program does not care if you have 1 enter between lines of 100 enters between lines as long as you follow clean programing practices of having if and for loops within a code block.
Most state colleges will have people start with Java then progress into C++ because their curriculum is several decades old.
Java Ranch is a great place for beginning Java programmers (as well as seasoned). Try to complete their challenges, it will help a lot.
Ohh yea, this is also very important. Don't write all your code and then test. Instead setup mini-milestones and get those working first. Make sure your basics run before adding in the extras. Thats pretty basic to any type of assembly work.
So you would do stuff like, setup output window. When it works move onto the next thing. Make a DirectX Object. Works, ok now add models. That works, ok now move models. So on and so forth.
The best advice you will ever get (from me or most other programmers): Start Coding.
It sounds simple, because it is. Pick a language, google a tutorial, and start rocking. If the tutorial doesn't cover some basics you need (how to compile, what packages you need, etc) google that as well. Google, read, write code, google, read, write code, repeat. It's perfectly ok if you have no idea what programs you wish to write or how you want to incorporate programming into your career (and believe me, there are endless ways). Just find tutorials and example programs and write, then write, then write some more.
Some of the best coders I know are the best not because of which books they read, or where they went to school, but because they have been coding for decades and keep at it.
Programming is both a science and an art. You can survive in the industry as either a very methodical, book reading programmer, or a gun-slinging rule breaking hacker [old-school use of the term, that is]. But you'll need a bit of both as you learn.
Cred's: I work as a tools and server programmer / hacker for a top-5 US Consulting firm as an Independent Contractor. Current project is over-hauling california's health-care enrollment software.