Hacker News new | past | comments | ask | show | jobs | submit login

What is really important when learning a new language is just forget any idioms you learned the last time! Know how computers work, and have a general knowledge about memory management, data structures, algorithms and clean code, but try to understand the new language's idioms. You will have an easier time and make less mistakes.

For example, there are typical mistakes when a C or Java programmer uses Python for the first time, I can tell somebody's history just by looking at what idioms they try to force on Python which shouldn't.

Example for C programmer writing Python:

    for i in range(len(mylist)):
         print(mylist[i])
Example for Java programmer writing Python: Starting hello world with "class HelloWorld:". LOL You don't need to start with classes and objects in Python!



Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: