Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 4

How to Learn a Programming Language

Whether you want to design a video game, develop some cool apps for iPhone or Android or just want to do it for fun, programming is the one way option. Here's how to learn a programming language.

Steps
1. Decide your goal. Learning a programming language can be both uite interesting and challenging if you !now what you have to accomplish. "ven university graduates study a language for years but could not figure out their specialty. #o decide first, what do you want to become, a programmer, game developer or robotics e$pert. 2. Choose a programming language. Always start to learn from a core language. When you first begin to learn, choose mid%level language li!e & and afterwards &''. Learning these two is a must for any competent and complete programmer. (on't ever thin! of learning high level languages at first such as )ava or something else as they can be proved to you very confusing. *emember, slow is smooth,smooth is fast. At least study a language for one year. Learn the common programming approaches called procedure oriented and object oriented paradigm. *ead a lot and practice with a compiler or +(". ,nce you mastered a language, do not rush to implement. +nstead buy some good boo!s on data structure and learn the !ey subjects li!e searching, sorting, binary tree and lin!ed list creation etc. Whether it is about game or software development, data structure is the protege. Later, you may move on to a high level language such as )ava-./. 0or serious programming learn computer algorithms li!e divide and con uer, greedy method, bac!trac!ing etc for another one year at least. 3. Make love with mathematics. 0or some reasons, many avoid mathematics or just hate them. 1ut to become a good programmer you must solve and e$ercise a good number of problems on daily basis say one problem for one day. As you can see, it is easy to say but difficult to do. +t is not important that how much !nowledge you have in a language but what bares the importance is if you have the $%factors to solve a particular problem. 2ost problems are related to mathematical series 30ibonacci, 0loyd triangle, 0ourier #eries etc4. 5ot only that, there are many mathematical e uations that can save a lot of time. #o, start to learn new e uations and their aspects. Learn discrete mathematics and calculus. Without mathematics, coding is li!e grassing the cattle. 4. Be sel !motivated. *emember, *ome was not built in a day. #o don't rush to learn all in a day. Learning programming is not so easy because it employs logic fre uently. #o, try to understand the logic and e$ercise them, e$ercise until you memori6e it. +f you only trying to memori6e it, you will miss the fun and the concept will be left unclear to you. #o, #tretch yourself to the limit, but don't try to run before you can wal!. ". #ake your time. "ven the most accomplished programmers fails to solve a simple problem on certain occasion. #o,try to become rela$ when solving a particular problem. 7a!e notes, find a proper algorithm or prepare your own. 7his is why you must learn data structure and study mathematics. +t ta!es many hours of practicing problem%solving s!ills on different types of problems before you can call yourself an e$pert. #ites li!e Project "uler or &odeAcademy have many small programming assignments and tutorials that will help you practice and hone your s!ills. $. %ever Back Down. Programming can be very frustrating and annoying too if you act carelessly but once you solve a problem all frustration will disappear. (o a lot of calculus30ourier, 8ector, 1oundary Problem,Linear Algebra, 2atri$4. When wor!ing on a particularly intricate problem, ta!e periodic brea!s to let your brain rela$ and relegate the problem to your subconscious mind. 2a!e a good schedule for wor!ing. When you fill bored, ta!e a nap or wal! but never give up, never bac! down.

&. Become a master. 7ry to teach others and show your developed applications to others. +f you !now some one who is better than you, share your thoughts and problems with them, share e$perience as it will enrich your arsenal. 7ry to develop your own application imitating professional software li!e te$t editor, windows application. 7a!e part in competitions to push yourself to the limit if you dare. 9nowing one programming language is good, but mastering four or five is better. *egardless of what language you use most often, having !nowledge of others to draw on will ma!e you a better programmer and better able to understand common constructs and problems in the abstract. #o learn several programming languages, especially two or three with different design philosophies, such as Lisp, )ava, and Perl. 1ut learn each of them properly. '. Be a (ookworm. 2ost well versed programmers are good readers too. 7hey thin! before even type a line of code. #o, read a lot and thin!. *echec! your wor!s once a wee!. 1eside, invest money on good boo!s. 7ry to buy the best selling resources. 5ever follow a single resource as it will ma!e your outloo! more narrower. #o once you master something, research on it for more use and variations. ). *nvest on #raining Centers. +f you are not satisfied with your teach yourself techni ue, enroll yourself into some beginners course. 1ut before the enrollment, always research on the previous graduates.

&:mo aprender un lenguaje de programaci:n


;a sea por ue uiere dise<ar un videojuego, desarrollar algunas aplicaciones chulas para iPhone o Android o s:lo por diversi:n, programar es la clave para hacerlo. A u= tiene c:mo puede aprender un lenguaje de programaci:n.

+asos
1. Decida su o(,etivo. Aprender un lenguaje de programaci:n puede ser a la ve6 muy interesante y estimulante si sabe lo ue uiere conseguir. +ncluso estudiantes universitarios estudian un lenguaje de programaci:n durante a<os pero no pueden decantarse por una especialidad. (e manera ue, decida primero u> es lo ue uiere llegar a ser, un programador, un desarrollador de juegos o un e$perto en rob:tica. 2. -li,a un lengua,e de programaci.n. #iempre empiece a estudiar un lenguaje de los llamados fundamentales. &uando empiece a estudiar, escoja un lenguaje de nivel intermedio como & y luego &' '. Aprender estos dos lenguajes es imprescindible para ser un programador competente y completo. 5o piense jam?s en aprender al principio lenguajes de alto nivel como )ava o cual uier otro por ue pueden llegar a ser muy confusos. *ecuerde, v=steme despacio ue tengo prisa. Al menos estudie un lenguaje durante un a<o. Aprenda los paradigmas m?s comunes de programaci:n llamados procedimental y paradigma orientado a objetos. Lea mucho y practi ue con un compilador o con un +(". @na ve6 ue ya domine el lenguaje, no se apresure en desarrollar. "n lugar de ello, compre algunos buenos libros sobre estructura de datos y aprenda los conceptos fundamentales como la bAs ueda, la ordenaci:n, ?rboles binarios y creaci:n de listas enla6adas, etc. 7anto en desarrollo de juegos como en software, la estructura de datos es vital. 2?s adelante, puede continuar con un lenguaje de alto nivel como )ava-./. Para aprender programaci:n de forma seria aprenda algoritmos de programaci:n como divide y vencer?s, algoritmos voraces, bac!trac!ing, etc durante al menos otro a<o. 3. -nam.rese de las matem/ticas. Por muchos motivos, muchos evitan las matem?ticas o simplemente las odian. Pero para llegar a ser un buen programador debe resolver y practicar un buen nAmero de problemas diariamente digamos un problema por d=a. &omo puedes ver, es f?cil de decir pero dif=cil de hacer. 5o es tan importante cu?nto cono6ca un lenguaje como el ue tenga los recursos para solucionar un problema en particular. La mayor=a de problemas est?n relacionados con series matem?ticas 30ibonacci, el tri?ngulo de 0loyd, las series de 0ourier etc4. 5o solo eso, hay muchas ecuaciones matem?ticas ue pueden ahorrar mucho tiempo. Asi ue, empie6a a estudiar nuevas ecuaciones y sus caracter=sticas. Aprende matem?tica discreta y c?lculo. #in matem?ticas, programar es como un campo sin abono. 4. Mant0ngase motivado. *ecuerde, *oma no se construy: en un d=a. 5o tenga prisa en aprenderlo todo en un d=a. Aprender a programar no es tan f?cil por ue se utili6a frecuentemente la l:gica. Asi ue, trate de entender la l:gica y pract= uela, practi ue hasta memori6arla. #i s:lo trata de memori6ar, se perder? la parte divertida y el concepto aAn no estar? claro para usted. (e manera ue, esfu>rcese al m?$imo, pero no trate de correr antes de aprender a andar. ". #.mese su tiempo. +ncluso los programadores m?s destacados no han sabido resolver un problema sencillo alguna ve6. Asi ue, trate de relajarse cuando est> resolviendo un determinado problema. 7ome notas, encuentre un algoritmo adecuado o haga el suyo propio. Por esto es ue debe aprender estructura de datos y estudiar matem?ticas. #e necesitan muchas horas practicando la resoluci:n de problemas de muchos tipos diferentes antes de ue se pueda considerar un e$perto. #itios como Project "uler o &odeAcademy tienen muchos ejercicios pe ue<os de programaci:n y tutoriales ue le ayudar?n a practicar y mejorar sus habilidades.

&. Convi0rtase en un e1perto. +ntente ense<ar y mostrar sus aplicaciones desarrolladas a otros. #i conoce a alguien ue es mejor ue usted, comparta sus pensamientos y problemas con >l, comparta e$periencias ue enri uecer?n su arsenal. +ntente desarrollar su propia aplicaci:n imitando software profesional como el editor de te$to. Participe en concursos para e$igirse m?s si se atreve. &onocer un lenguaje de programaci:n est? bien, pero dominar cuatro o cinco es mucho mejor. +ndependientemente del lenguaje ue m?s utilice, conocer otros le har?n un mejor programador y ser capa6 de entender construcciones comunes y problemas de forma abstracta. Asi ue aprenda varios lenguajes de programaci:n, especialmente dos o tres con diferentes filosof=as, como Lisp, )ava, y Perl. Pero aprenda cada uno de ellos adecuadamente. '. Sea un rat.n de (i(lioteca. La mayor=a de buenos programadores son buenos lectores tambi>n. Piensan antes de escribir una l=na de c:digo. Asi ue, lea mucho y piense. *evise sus trabajos una ve6 a la semana. Adem?s, invierta dinero en buenos libros. +ntente comprar los recursos de m?s >$ito de ventas. 5unca siga un Anico recurso por ue estrechar? sus puntos de vista. &uando domine algo, investigue en ello para encontrar m?s usos y variaciones. ). *nvierta en Centros de 2ormaci.n. #i no est? satisfecho con su t>cnica autodidacta, apAntese a un curso para principiantes. Pero antes de apuntarse, siempre pregunte a estudiantes anteriores.

You might also like