Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

L want to learn programming

  1. Feb 19, 2015 #1
    I attended a few programming languages courses in my university a long time ago. I describe myself as a "text book programmer" , that is, I could reproduce all text book programs in exam..... Hahahaha.... Now I day I feel seriously that I should learn programming. Should I learn programming? Can someone guide me what I do to learn programming within short time without very much reading? Should I forget about learning programming and live life easily? Any idea, hope etc
     
  2. jcsd
  3. Feb 19, 2015 #2
    So what exactly is your question? To learn or not to learn? Coding is fun. If you're serious about it, then pick a coding project you want to do and learn what you need for it. If all you're doing is reading books and doing examples, you'll never really get it. If you find a project that's fun and engaging for you, you'll retain a lot more knowledge.
     
  4. Feb 19, 2015 #3
    Whether you need to learn programming very much depends on whether you would like to use those skills for anything. However, you may want to learn a programming language just for fun, and I'm sure no one on PF would criticise you for that. I'm not sure it is possible to avoid reading entirely, but if you're looking for a more interactive learning experience, try www.codecademy.com. They offer free courses in a variety of programming languages, and I'm sure there will be a discussion about which language is best. My recommendation would be to start with Python; it's a relatively simple language to pick up, and helps you learn the basics of programming. Python also has more advanced features for when you are comfortable, or you can use your skills to learn a more complex language like C++.
     
  5. Feb 19, 2015 #4
    I heard term like oop, uml, .net and so many others that change every few years. If I start will Phyton would I be able to upgrade to these things or Phyton is something like my time G W basic or turbo c....
     
  6. Feb 19, 2015 #5
    Programming is programming -- defining a problem, breaking it down into small sub-problems, and then building up a set of instructions that deals with these problems.

    I started with Turbo C (which makes this sound like a thread that time traveled from 1993) and have been doing systems programming in C since graduating in the 90's. UML is a modeling language -- it doesn't really change how you program. OOP is object-oriented programming which is a way of modeling problems/solutions, but you still have to know programming to do it and I believe Python supports that way of doing things. .Net is a platform from Microsoft. And things change every so many years but it is still all programming.

    You get beyond 'text book programming' by actually taking on projects and completing them. And getting involved in projects you didn't start and don't currently understand and reading their code and contributing to them to the point you understand what someone else did.

    Note that a data structures and algorithms class (online, at the local university, or out of a book) will help.
     
  7. Feb 20, 2015 #6
    Okay I think I must start from Phyton. One last thing, I think programmer feel in a certain way when they are designing a project or program from "hello World" to some simulation or game. How can I get that programmer thinking or breaking the problem in small sub problem or this will come naturally with writing more code like driving a car...
     
  8. Feb 20, 2015 #7
    I think it just comes with more practice. Start with small problems to build your skills then you can move on to more complicated tasks that can be split into sub-problems.
     
  9. Feb 20, 2015 #8
    Why not code a program youve always wanted to write? It'll be fun and you'll have a personal inventive
     
  10. Feb 20, 2015 #9

    Mark44

    Staff: Mentor

    First off, it's Python, not Phyton.

    As far as getting that "programmer feeling" goes, I don't believe it comes naturally. There are a number of attributes of good programming style that many programmers have thought about over a long time. Without being exposed to this accumulated wisdom, it's likely that your coding technique will not improve over time. An excellent book is "Code Complete," by Steve McConnell. It's a fat book that is full of good advice to programmers.

    It takes a lot of practice to become comfortable at writing code that can be easily maintained, which is something that many new programmers don't learn for a long time, or in some cases, at all.
     
  11. Feb 21, 2015 #10
    Thank you for correcting me, but I personally think phyton was a much better word.... Hahaha... Anyhow... I get your point and it is just like I suspected. If you see my question can you recommend a thin book about programming style....
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: L want to learn programming
Loading...