How to learn programming
Conclusion .. If you are not able to enjoy programming and savoring it like a taste of poetry, abstract logical thinking, and finding the right needle between a pile of needles, then do not waste your time learning programming, because you will not learn it and because it does not suit you.
How did I learn programming?
Initial note: I don't consider myself a programmer yet, but I at least know the basics that allow me to program my own projects.For a long time I was learning to program purely theoretical. I didn't have a computer at the time and was capturing whatever source I could find in any language. Reading without the app is not an effective way to learn programming, but I had no other (I still love to write code in the paper when I am outside the house, and then transfer it to the computer later). I used to read a lot. I don't understand most of what I'm reading, but I was storing it in my memory for another time until I found the ellipses that allow me to understand the full picture.
The first thing I learned was HTML & CSS, (think 2000). The funny thing is that I learned them in Spanish during a workshop organized by Spanish students in the city (there I first heard about Google). I only knew a few words of Spanish, which entered the Moroccan colloquial and similar to French words. But before that, I had read some scattered information about HTML in English and French magazines.
After that I had a few attempts with Javascript, but the problem at the time was that Javascript was not used as a real language as it is now, but only for the purpose of decorating the pages with some dynamic animation, so I did not learn much from it.
Then came PHP. I guess 2004. I read some basics on French sites and then started downloading some small scripts and modifying them a little bit. But it was all just for fun. Although I started at the time in providing web design services and installing PHP programs, I did not look at it seriously, and programming was nothing more than just another hobby, so I did not delve into learning it. If today I have reached a reasonable level in PHP with the ability to use other programming languages with relative ease, then this is only due to the practice, which although it was not in-depth but which, along with my continuous reading, contributed to my reaching the current level.
The best resources I have come across during my slow career in coding are:
Google: an indispensable search engine at any stage. Always come back to him to find solutions to the problems you encounter.stackoverflow: a very important site for programmers. In it you can find solutions for almost every problem that you may encounter, and you can ask your questions and communicate with professional programmers.
PHP Manual: The best guide to learning PHP is the official user guide, which is enriched by programmers from all over the world with comments and examples.
PHP 5 Power Programming: a very important book, nothing wrong with it except that it has not happened since 2004, which is a long period during which the language has known many updates.
smashingmagazine: a popular and indispensable website for any designer. Also tracks new in HTML & CSS and Javascript.
Beginning Ruby: The best book for explaining the basics of Ruby. It is also valid even for users of other languages due to the basics of programming it deals with. In the same context, I found that familiarizing yourself with the RubyOnRails framework is very important to get new ideas and different programming methods that can be used when using other programming languages. Personally, my usage of PHP completely changed after I started using Rails.
No comments: