I''ve been learning Swift with almost no background in coding at all. Does repetion of typing swift help reinforce where the punctuation marks go? How long did it take some other students to start typing code that doesn't throw xcode errrors you have to go back and figure out?
This happens to even experienced developers. Just keep learning
I've been coding since 1977. Still type dumb stuff from time to time.
When will you feel you know the language well enough to stay in a flow state while coding? A few months to a year, depending on what other coding experience you have.
These days, learning a new language is a relatively painless adventure, compared to 1970s.
You no longer have to go to a computer center to punch your code very carefully onto cards, submit your deck of cards to the job queue, then wait anxiously for the print out, praying: God, no errors, please.
These days, you can do it all from the comfort of your home.
Your real challenge is going to be learning all the things that you need to be able to create something useful by using Swift. That means learning some math, computer science, reading documentation for the frameworks or libraries created by other people, and asking intelligent questions on these forums. Also, having some emotional intelligence makes the learning process easier.
Enjoy the journey.
I teach programming to students like yourself for a living, and I'd say: yes, absolutely. If you're new to programming (or just learning a new language), you really need a lot of repetition to learn the basics. Two ground rules when getting started:
- Force yourself to never copy-paste anything, and type it out yourself.
- If your code has errors, fix them first before continuing. The more code you add on, the harder it'll be to find the errors.
Man, I find the way a number of my compatriots wrote over the years to be perplexing. I liken it to trying to wire together a bunch of stereo components together blindly, then turning it on, and seeing what happens. Of course, some of them think I just run the compiler too often. I feel like LSP based IDEs vindicated my style.