Archives
- Newer posts
- November 2024
- April 2024
- November 2023
- October 2023
- August 2023
- May 2023
- February 2023
- October 2022
- August 2022
- July 2022
- May 2022
- April 2022
- March 2022
- February 2022
- June 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- October 2019
- September 2019
- August 2019
- July 2019
- June 2019
- May 2019
- April 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- October 2018
- September 2018
- August 2018
- July 2018
- June 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- September 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- August 2016
- June 2016
- April 2016
- March 2016
- February 2016
- January 2016
- July 2015
- June 2015
- Older posts
Learning Programming Language
“The day you stop learning is the day you stop living…”
― Tetsuyama-san
Learning anything new, or doing something for the first time is an exciting feeling. May it be a new sport, an instrument or a language. Different questions go racing in your mind, Will I be able to do it? Will I like it? Will I be good at it? Well, you need to try it to find out. Unless you try it and give it your best you never know what you are capable of.
I was given the opportunity to learn ‘Objective C’, an object-oriented programming language. For people who have not heard of this programming language before, a likely thing to cross your mind is ‘Is it anything like C Programming?’. To answer this question, Objective C was developed in the early 1980s. It inherits the syntax, primitive types and flow structures of C Programming. Objective-C is a general-purpose, object-oriented programming language that adds Smalltalk-style messaging to the C programming language. Objective C is used by Apple for the development of OS X and iOS operating systems and their respective application programming interfaces (APIs) Cocoa and Cocoa Touch.
Every person has a different learning experience for different things. The time taken to learn, the way of learning and the learning capacity of every individual varies.
Learning a new language is not just about learning the language and using it to get some result, it is about using the correct coding standards. It is very important to learn how to write quality code. It may take more time and lots of practice, but it is the efficient way to do it. It is very necessary to know why a particular way of writing code is not advisable. Knowing these reasons help you grow and learn faster.
I would classify learning styles into two broad categories:
- Learning a programming language for the first time, without any prior knowledge of programming.
- Learning a programming language with prior knowledge of programming and comparing the different languages.
If you are learning a programming language for the first time you need to study systematically the different data types, why they are used, how they are used, and when to use which data type. Then learn how to use the data and the flow of the program for example: the simple flow, loops, conditions etc. It is important to know all these basic things first. Once this is done, almost all programming languages are similar and hence learning another language is easier since you can compare them and learn.
I am a .NET Developer and hence had knowledge of programming language when I started learning Objective C. I went about comparing the way things are done in C# programming and Objective C. I compared the syntax, the way to write methods and call the methods etc.
It is important to have hands-on practice, this allows you to learn from your mistakes and improves the speed of reading and understanding code. Reading the official documentation of the programming language serves as a good and reliable learning library.
Exploring the internet, watching tutorials and interacting with others in the same field provides a good exposure for learning the language. It also helps to look at different problems differently and finding the best solution for the problem. Watching tutorials where other people code and give examples is a nice way to learn when you are in the initial phases of learning a programming language. Ask questions to experts in the field to get helpful replies.
The best way to learn and achieve success, in learning, is to be motivated and curious, everything else falls into its place.