• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pitfalls in Coding

 
April Jones
Greenhorn
Posts: 2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mr. Mughal & Mr. Ramussen,

What would you say are the top 3 errors that you notice newbies to programming make?
Also do you have any suggestions for persons very new to computer programming.
I, myself, am transitioning from a career in social work to learning Java.
Thanks in advance.

 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi April Jones,

First of all, a warm welcome to CodeRanch!

April Jones wrote:What would you say are the top 3 errors that you notice newbies to programming make?

That's a difficult question to answer. I would suggest the following list (in random order):
  • differences between primitive data types and their wrapper classes
  • mixing up the rules for method overloading and method overriding
  • assuming the compiler will execute code
  • not knowing the rule(s) about which methods can be invoked and which method is actually executed


  • April Jones wrote:Also do you have any suggestions for persons very new to computer programming.

    As a Java greenhorn you might benefit from reading a book on Java first (rather than a certification study guide). Many alternatives are available: Head First Java, Thinking in Java, Core Java, Deitel & Deitel, and so on. Other great resources are this forum and the Beginning Java forum of course and you also have the (free) Oracle Java Tutorials.
    Learning a programming language is like driving a car: you don't learn how to drive a car by just reading a book, you have to get your hands dirty. During your preparation you should definitely write a boatload of small code snippets, preferably using your favourite text editor, javac (to compile your code) and java (to run your code).

    Hope it helps!
    Kind regards,
    Roel
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic