Trying to learn a programming language
I'm trying to learn a programming language (Objective-C) but my progress is very slow. Whenever I try to read a guide, the language is just too complex for me to read through easily, which exhausts my brain. For example:
The information provided here is simple, but provided in this way, it takes too long for me to process it. I'm a visual person, and trying to translate text like this into a mental image is too exhausting.
The way I see it, either I have to develop my reading skills, or find an alternative way of learning that doesn't involve too much reading. I need advice.
Codecademy has some simple tutorials. They don't have C, but they have other object oriented languages like javascript and ruby. Then you can at least learn some of the basic programming concepts, and can apply some of this knowledge, just using the syntax for C. And I agree with robdemanc, practise and learning by examples will help quite a bit, along with some trial and error
_________________
Questions are my favourite form of communication
I'll keep that in mind.
Any tips on how to maintain my interest? I know if I get deep enough into it it might turn into an obsession (which is what I want), but I'm struggling in keeping my interest up while studying concepts and such.
Your para you quote is talking about object oriented style of programming which is pretty hard.
Why don't you start off with a simpler language and after mastering a simple language , go on to learn more complex ones?
I don't know what your goal is or why you're learning but for most current rapid development environments like Microsoft Visual studio understanding Object orientation might not be as important( depending on what you're coding) as it was in past.
I am a hobbyist coder who taught myself , first Pascal than Delphi now I code in VB,NET. I have taught myself Object orientation but I have never really needed it. Of course its better to learn it but it's not a must but surely a plus.
I have coded many commercial quality softwares and never needed to do OO myself.
Sorry for my bad English.
Why don't you start off with a simpler language and after mastering a simple language , go on to learn more complex ones?
I don't know what your goal is or why you're learning but for most current rapid development environments like Microsoft Visual studio understanding Object orientation might not be as important( depending on what you're coding) as it was in past.
I am a hobbyist coder who taught myself , first Pascal than Delphi now I code in VB,NET. I have taught myself Object orientation but I have never really needed it. Of course its better to learn it but it's not a must but surely a plus.
I have coded many commercial quality softwares and never needed to do OO myself.
Sorry for my bad English.
You need to start with basic concepts. Computer logic, what happens internally when the computer executes a program, flowcharting, etc. If you try to just jump in to coding you WILL fail, I know this from experience, the college I went to just threw CS students into coding w/o any background and everybody flunked. You might try a book called Practical Programming with Python, if you can wait a new edition comes out in October.
That is normal,learning any kind of programming language is really hard not everyone start in easy just don't give up.Me before i use to manage a crm in Finland country i made a lot of studying about it so that i could not do any mistake on doing it even though many are saying that is easy thing to do.
Have you tried studying the grammar. Sometimes reading the BNF grammar of the language can be very helpful, the grammar is often very precise and easy to understand. Then when fully understanding the grammar, you may try to understand important classes and library methods. Personally, I think this is the best way to learn a new language.
I think that's a terrible way for a non-programmer to get started. I don't even think it's very good for someone who knows several languages. Just figure out progressively more complex examples, and you will soon develop a feel for the language, at which point you will be in a good position to learn more theory, which will propel you toward more complex programs. And so on.
I feel the same way. The way I did it was more of a brute force approach. By reading a lot of different guides and not really understanding any of them, eventually the common themes and language will shine through all the BS and crap they write. And you will begin to understand how computers work and how to program them.
What I have read is that Objective C is the normal C language expanded with some smalltalk to make it more object oriented.
Also Objective C is more dynamic than C++.
There is a difference between the language and its libraries. NS* objects are not part of the language. They are part of Nextstep.
iOS is derived from MacOS X, itself derived from Next.
Sometimes technical documentation is made too verbose. It is possible they make it simpler for people who have a lot of experience.
Also when they first made Nextstep the target demographic was people who programmed on Unix already.
About keywords. In NSDictionary there's Dictionary. Try finding information on dictionary from python and other languages.
In scripting languages something some features are part of the syntax. In Objective C there is a small syntax and everything else is a function/struct/object.
Everything is similar to everything else but with a different interface.
By everything I mean the same idea used in different languages.
Similar Topics | |
---|---|
My therapist thinks I can just learn social cues... |
17 Mar 2024, 4:45 pm |
Body language question? |
14 Mar 2024, 8:24 pm |
‘Mary Poppins’ age rating increased in U.K. - language |
03 Mar 2024, 8:47 pm |