If I can re-learn iOS development

Source: Internet
Author: User

In the past few months, I've been learning to write iOS apps with objective-c, and I finally started to sort out my thoughts. It was a lot harder than I thought, and it took a long time.

I often have difficulties and frustration, and it takes too much time to fix bugs than to actually write code. However, it's amazing to play with the apps I've developed from scratch on my phone.

In this way I learned a lot, in addition to the development of iOS app, but also the usual programming. I have also encountered some problems, if I learn objective-c in different ways, maybe I can avoid it.

Look back, if I want to learn programming today, then I will do something different.

Find a small programming partner

I also found a way to learn that there is a living person who can talk.

My co-founder, Josh, is mainly doing Python development, actually learning objective-c with me and answering a lot of programming theory questions ("How do I make an if statement work again?"). ") to help me debug when I'm really having a problem.

At least with a very patient programming partner, he can explain basic programming principles, which is a great help. Before I use objective-c to figure out the specifics, Josh often helps me think about most of the logical ways to solve a problem.

Leveraging resources

If you're not lucky enough to have a patient programmer to answer questions around you, there are other places where you can get help from real people:

Stack Overflow

For specific syntax or implementation issues, Stack overflow is one of the most recent sites I have visited. I haven't asked the question myself (because the community is very friendly to beginners, I'm cautious about asking questions) because I seldom have to ask--by browsing the answers to other people's questions, most of my problems are solved.

Treehouse

Treehouse teaches programming through video courses and has a community forum where you can discuss difficult bugs or specific exercises you encounter during a lecture.

Askadev

When you need help, Askadev supports you in contacting experienced developers. I haven't tried this service yet, so I don't know how useful, or whether all the programming languages are included, but it's free and you might want to try it next time.

Codementor

If you want to pay cash for experienced developers to get help, Codementor will match you with people who are familiar with the language you are learning. They cover Android, IOS, HTML, CSS, PHP, Python, and many other technologies.

The solution to the problem of small yellow duck

If you have not seen it before, the "Little Yellow Duck Problem" blog post is very useful. The specific operation is: to a small yellow duck or other still life, such as a bread machine, explain your problem, speak louder. The process of telling a question aloud often helps you realize the answer (or at least where it is wrong). I've found that talking loudly about my code is an incredibly good habit, and I try to do it every time I get someone else's help.

Learning norms

In the time I learned to program, the most influential thing was the misunderstanding and strangeness of the technology I was using. For example, developing an API means that I need to understand how the API works, how to use post and get requests, how to parse JSON data, and even what I need to know to receive JSON data.

Learning Objective-c is not all you need to know to develop an iOS app, at least, not the kind I want to develop. I made a mistake and I think it's OK to know objective-c. Even worse, I often get into trouble because stack overflow answers questions, online tutorials, and book chapters explaining how to develop with objective-c, completely skipping the necessary web-based principles that I need to know because they think I know.

If I start again today, I will first add and accumulate knowledge of HTML and CSS. When I start to meet some new technologies that I don't know well, I'll probably get to know them before I get ready to implement them with objective-c.

Any language can start

If you're really unsure where to start, or what you want to develop, don't be affected. Although I took the time to learn Ruby and Python and didn't use them to complete any projects, I didn't think time was wasted.

Beginners usually start with learning HTML and CSS to develop a website. They are actually markup languages, and if you want to develop mobile or web apps, it seems like learning HTML and CSS is a waste of time. But in this case, you will gain knowledge and experience that is helpful for you to continue learning programming languages.

If you're eager to start learning programming and don't know where to start, pick a book, tutorial or online course, and if you like, take care of it! Once you have a better understanding of what you want to develop, you can always choose to learn a different language.

Find the project you really care about

For me, the biggest learning curve might be finding the motivation to keep me learning the code. I've tried many times in the past: Learning HTML and CSS in my childhood, and learning the basics of Ruby a few years later, I've recently been learning python.

I decided to learn objective-c, not because it was better than Ruby or Python, not because I knew objective-c, but because I had an iOS app idea list that I wanted to finish-I really wanted to develop.

My motivation to learn objective-c is stronger than any other language I've ever learned, because I want to develop a private project that encourages me.

Most of all, I didn't give up when I was frustrated and in difficulty as I was getting more difficult-because I was developing projects that I really cared about. Every time I try to implement some new features, it works well and the gains are even better because it's part of my passionate project.

If you are considering programming and you do not have any restrictions on the language or platform, I would definitely recommend choosing your truly passionate project so that you can lay the groundwork for the language that your project needs to choose.

Everyone has different ways of learning, so you may have different experiences with me, but if you're just starting out or thinking about programming, hopefully my experience and mistakes will help you learn faster.

Note 1 : Small yellow Duck debugging method, also known as Rubber Duck debugging method, Duck Pest removal method (Rubber Duck debugging) is one of the debugging code methods used in software engineering. is in the process of debugging, error correction or testing, patiently to small duck explain the role of each line of the program, in order to inspire inspiration. http://zh.wikipedia.org/wiki/%E5%B0%8F%E9%BB%84%E9%B8%AD%E8%B0%83%E8%AF%95%E6%B3%95

(Original: What I would does differently if I was learning to code today Translator: Laba Porridge)

Transferred from: http://www.cocoachina.com/programmer/20141128/10353.html

If I can re-learn iOS development (GO)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.