开发者

Beginner To Programming [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, v开发者_运维问答isit the help center. Closed 12 years ago.

I am in my second semester at my local college. My major is computer science and this is the second part of the Java course. The thing is, even though I passed with a C,(highest grade in the class) I want to do better and get where I need to be. Just like most people it was a up hill battle to learn because it was an online class and the teacher took an average of about a week to respond to anything. I am asking for techniques and tools that helped you be successful. We are learning JAVA and it's hard learning it on your own because there is no one to really look at your code. At the same time I am trying to learn C and C++ with what I've read from at Joel on Software. Any help is nice.

Thanks,

Orlando


I personally got a lot out of the BlackBeltFactory Site. Not only for Java but for many other technologies. Give it a try!


You can find some high quality resources for teaching yourself C++ linked from here: https://sites.google.com/site/michaelsafyan/learn-to-code

I think C++ knowledge can be very easily applied to Java and can even be more helpful than learning Java directly. For example, it's hard to grasp the notion that some things are implicit pointers, without seeing passing objects by value, passing pointers by value, passing by reference, etc.

The key, though, to success is being curious, and writing small example programs that will answer your questions. If the textbook says such-and-such about the syntax or semantics, don't believe it for a moment (authors aren't always right, and programming languages may evolve more quickly than the books are published). Create a small, simple program that demonstrates the concept. Also, if you are forced to write it and correct mistakes when it fails to compile correctly, you are more likely to remember how the piece of code is written. It will also make you more familiar with and better able to understand the types of error messages that the compiler generates, if you force yourself to write these examples.

Lastly, and this is particular an issue for learning Java where it is very easy to be spoiled, it's probably a good idea to use a simple editor instead of Eclipse or NetBeans when you first learn; NetBeans and Eclipse are awesome, because they incrementally compile your code, find errors, suggest fixes, and give you a simple magical button that will apply the suggested fixes. This is great for productivity and when writing code, but is really not so great for learning and remembering how to code correctly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜