• About Us
  • Classroom Training
  • Online Training
    • Self Paced Courses
      • Android Development for Beginners
      • HTML and CSS For Beginners (with HTML5)!
      • Javascript for Beginners
      • C Programming: iOS Development Starts Here!
      • Objective C For Beginners
      • PHP MySQL For Beginners
      • Web Development Code Camp
    • Live Instructor Courses
      • HTML and CSS with HTML 5 (Live)
      • Javascript for Beginners (Live)
      • C Programming for Beginners (Live)
      • Objective C for Beginners(Live)
      • Android Development Code Camp (Live)
      • iOS Development Code Camp (Live)
      • HTML5 & Advanced Client Side Development (Live)
      • Actionscript for Beginners (Live)
  • Forum
  • Testimonials
  • Contact Us
    • Actionscript
    • Android
    • C/C++/Objective C
    • HTML/CSS
    • iOS
    • Java
    • Javascript
    • PHP
Home > On Learning > How To Learn a Programming Language: 5 Tips

How To Learn a Programming Language: 5 Tips

Posted by Mark Lassoff on July 19th, 2011 Computer Science Education, How To Learn a Programming Language, Learning, Object Oriented Programming
| 5 Comments

Learning a new programming, scripting or even a mark-up language can be a daunting task.  For many of the people I teach, the volume of information is overwhelming.  Before you feel paralyzed by the sheer size of the task of learning a new language, here are five tips on How To Learn a Programming Language:

Tip #1 Type All The Code Yourself
My freshman year of high school I took a class known as College Prep Typing.  The teacher once said that there is  such thing as “muscle memory” and that touch typing relied on it.  When trying to learn a new programming language, typing in the code yourself is helpful in that it creates that “muscle memory” that Mr. Weiss spoke of in 1988.  In addition, when you type in the code yourself (rather than load it and study it or review it in a book) you ar forced to correct whatever typos you make.  This light debugging is a great way to learn the patterns and syntactical nuances that exist in the code.

Tip #2 Learn Each Skill in Isolation
Many books and longer tutorials tend to build one or two large projects while teaching the various api’s, skills and structures that are part of a programming language.  I actually disagree with this approach. In my classes, I have found it is better to learn each skill in isolation without having to decipher or interpret other newly learned concepts.  Integration comes later.  Learn each new skill in isolation and you’ll get a better result.

Tip #3 First Modify, Then Write Original Code
When thinking about how to learn a programming language, I remembered something the great (now retired) Computer Science professor James Browne taught me. He said that you should always try to modify existing code before trying to write original code.  Modifying code when learning gives you a strong starting point instead of the blank slate that trying to code from scratch provides.

Tip #4 Learn Procedure and Syntax, Then Objects
When I first learned Java at the University of Texas, the instructor tried to teach the object oriented philosophy and concepts first and then layer the syntax and procedural code on top of that.  Many students were frustrated because they were trying to learn the OOP concepts without a substantial context of why it was necessary or useful.  It seems to be a less frustrating and more successful approach to first establish context through syntax and procedural code and then move on to Object Orientation.

Tip #5 Combine a Book with Video
If you are learning from  a book, also seek out supplementary materials on youtube, Udemy (which hosts my Beginning Javascript Course) or other video search engines.  Watching concepts demonstrated on video involves a different part of your brain than reading out of a book.  It is also helpful to get multiple perspectives on concepts and material.  One author may explain something in a particularly relevant way, while another does not.

Good luck with your learning!  Please feel free to add your own tips and tricks on how to learn a programming language in the comments.

Tags: Computer Science Education, How To Learn a Programming Language, Learning, Object Oriented Programming

5 Responses

  1. IroeN says:
    July 23, 2011 at 1:20 pm

    @Tip #2 – it’s also important to have a project that you can apply those newly learned skills to, so you can see how it is actually improving the project as a whole and where that new skill fits into the software design patterns. It’s this way because if you would wait for going through all the features of the language in isolation you will forget what they were before you reach the end of the course/book and all the learning will be pointless.

    Reply
  2. philwebservices says:
    July 26, 2011 at 8:47 am

    I think it would be better to write codes using the language that you like or you’re good at. But every programmer must be flexible in learning different programming languages. Say for example, what’s buzzing right now is java programming but after 5 years people would be switching to a new programming language. Things like that.:)

    Reply
  3. Jim R says:
    July 27, 2011 at 4:57 am

    I clicked on your link to “James Brown” and it shows his name as “James C. Browne”.

    Reply
    • Mark Lassoff says:
      July 27, 2011 at 5:15 am

      Thanks Jim. Corrected.

      Reply
  4. Stew says:
    July 27, 2011 at 11:04 pm

    Yeah that’s what I’m talinkg about baby–nice work!

    Reply

Leave a Reply

Click here to cancel reply.

Join our mailing list

Free video tutorials, course information and more!

* required

Email Address *

First Name

Last Name:

Email Marketing Software by VerticalResponse
Apple Store Facebook Google+ LinkedIn RSS Feed Twitter YouTube
Provided by The Social Links

Like Us!

Live Online Course

Online event registration powered by Eventbrite

Self Paced Course

What is ?

We train software, web and mobile developers. Our classes geared to the way adults learn are available online, or in-person at your office or training center.

New Android Book

Android Programming Code Camp by Mark Lassoff. Coming in 2012. Finally, a true beginners book on Android programming and development. No Experience required.

Email me when the book is available

On Learning

  • Top Languages Used in Web Development
  • How To Learn a Programming Language: 5 Tips
©LearnToProgram.tv 2012 .All rights reserved.