DEV Community

Discussion on: The fastest way to learn the syntax of a new programming language

learnbyexample profile image
Sundeep • Edited is a good site to quickly view syntax for a new language if you are already familiar with programming concepts

as you mentioned, problem solving is a good way to force yourself to get used to syntax, documentation, idioms, etc

apart from online coding sites, translating your own projects from another language could be a nice option as well

personally, it has helped immensely to convert my tutorials from one language to another - often, when I learn a new concept/trick in the new language, I go back and see how it could be done in the other language and that helps a lot