3 ms·
The problem is that creating a new project from scratch is not the best way to learn a new language. Here's how I would do it: 1. Skim an introductory book. T
by itamarst 10y ago
The problem is that creating a new project from scratch is not the best way to learn a new language.
Here's how I would do it:
1. Skim an introductory book. This will give you an overview of language features, syntax and libraries. And when you get stuck on something confusing you'll have some vague memory of "oh, chapter 7 covered that feature, let me look it up."
2. Read some well-commented, good code in the language in a problem domain your understand. E.g. if you're backend web developer find a web framework which is similar to one you've used in a language you know.
3. Modify some existing code in the language. This means you'll be able to tell if the code runs, you'll have examples to work off of, a testing setup you can hook in to, and so on.
4. Write some new code in a highly structured way where there are pre-existing examples for the task you're doing. E.g. use a high-level framework, or write a middleware plugin.
5. After all that you might be ready to make something completely from scratch.