Re: Read This First: Learning How to Program
Posted: Mon Feb 06, 2012 8:15 am
Took you almost one year to notice my post... 
Gaming/Programming community
http://wololo.net/talk/
I have found out for myself that jumping into Qt and using just the provided documentation is easy enough when you have general knowledge of how PC programming works.joevar wrote:VoidRealms on youtube has awesome C++ tutorials. I'm nearly done with his Qt C++ tutorials.
I just don't understand how people can learn something from a video. I can barely concentrate when reading PDFs.joevar wrote:VoidRealms on youtube has awesome C++ tutorials. I'm nearly done with his Qt C++ tutorials.
Qt is niiiiiiceXian Nox wrote:I have found out for myself that jumping into Qt and using just the provided documentation is easy enough when you have general knowledge of how PC programming works.joevar wrote:VoidRealms on youtube has awesome C++ tutorials. I'm nearly done with his Qt C++ tutorials.
+1Davee wrote:Qt is niiiiiiceXian Nox wrote:I have found out for myself that jumping into Qt and using just the provided documentation is easy enough when you have general knowledge of how PC programming works.joevar wrote:VoidRealms on youtube has awesome C++ tutorials. I'm nearly done with his Qt C++ tutorials.
Sure, I used Qt a couple years ago before I found these videos. Although, I think skipped over quite a bit this way. Maybe someone will find them useful like I did.Xian Nox wrote:I have found out for myself that jumping into Qt and using just the provided documentation is easy enough when you have general knowledge of how PC programming works.joevar wrote:VoidRealms on youtube has awesome C++ tutorials. I'm nearly done with his Qt C++ tutorials.
Videos are a great way to get your feet wet quickly without the jargon. The real learning is in the practice whether referencing the docs and/or reading a few books.FrEdDy wrote:I just don't understand how people can learn something from a video. I can barely concentrate when reading PDFs.joevar wrote:VoidRealms on youtube has awesome C++ tutorials. I'm nearly done with his Qt C++ tutorials.
Since its an official post, important post here, it would need a major rework on capital... I didn't saw a single capital letter (Now its the time that someone will spot 1-2 capital letter just to contradict me, oh wait, I found some, when he gave link at the end...). Anyway, I am surprised no one noticed that before. Even on internet we should try to write correctly.ultimakillz wrote:please note that many of these statements are opinions of the author(s).
one of the questions that seems to come up on these forums over and over is something like this: "how can i get into programming on the psp?" i am writing this to (hopefully) answer those questions in general, plus give you a few resources that i hope will help.
you should learn to program on the pc before learning how to program on the psp.
for those of you who are just getting into programming this is very important. learning to program on the psp is like learning math and starting with calculus - it will make things much more complicated than they need to be. a major part of learning how to program is developing so-called "good programming practices". these things must be learned if you plan on being any kind of decent programmer. developing good programming practices is one of the most (if not the most) important aspects of learning programming, and their development will be greatly hindered if you attempt to learn on the psp versus pc.
so before you get started cracking away at psp programming, why not take the time to develop your skills as a programmer on the pc first. trust us, you will be glad that you did in the end
while you can write programs in many languages for the psp, real psp programming is done in c.
if you are just learning how to program in general, or if you are interested in programming for the psp, you should definitely study the c language. c is a great language to learn programming with. its a general purpose language, the compilers and development environments are relatively easy to setup, and many aspects of the language carry over into other languages. its also completely free. there are also tons of books and online resources for learning c. overall its great for beginning programmers.
sure, you can code psp programs in other languages, but c is at the heart of the psp. on top of that, its the only language "officially" supported by the pspsdk or "psp software development kit". but as we said before, it is very important to develop good programming practices on pc before attempting to program for the psp.
you can learn to program in windows, but experienced individuals usually suggest linux.
while we all have our preferences when it comes to operating systems, many experienced programmers will suggest you learn to program in linux. while this is not 100% necessary, there are definite advantages to linux.
windows has a bad habit of teaching things that can only be done in windows. for example, there are certain libraries available in windows that will cause the program to become incompatible with any other operating system besides windows. these libraries are not present in linux. everything you encounter in linux will carry over to all other operating systems. that being said you can learn proper programming in windows, just make sure that your teaching resource covers "pure" programming and is not operating system specific.
when it comes to psp programming, linux is king. nearly all tools for psp programming were developed in linux, therefore they work best in linux. of course its not impossible to program for psp in windows, but working in linux definitely helps
all these things aside, the most important thing when it comes to learning is that you are comfortable with your enviroment. if you are comfortable with windows then feel free to stick with windows, the same goes for linux. if you would like an interesting challenge you could attempt to tackle both at the same time. again its all up to you
tl;dr:useful links
- learn to program well on pc first before even considering programming on the psp
- the c programming language is a great language for beginner programmers, especially those interested in psp programming
- learning to program in windows is fine, but many people suggest linux
Intro to Programming Using C - a wonderful tutorial written by m0skit0
C Programming Tutorials - from http://www.cprogramming.com
Distro Watch - a comparison of the 10 most popular linux distros
Linux Distro Chooser - a quiz to help you choose the right linux distro for you
MinGW - Minimalist GNU for Windows - a wonderful compiler for c & c++ (among other languages)
GCC - the best compiler collection for linux
Eclipse IDE - a great development environment for windows & linux
Installing the PSPSDK (Linux or Windows) - a tutorial written by yours truly
Says the person who can't use English grammar properly.asgard20032 wrote:Since its an official post, important post here, it would need a major rework on capital... I didn't saw a single capital letter (Now its the time that someone will spot 1-2 capital letter just to contradict me, oh wait, I found some, when he gave link at the end...). Anyway, I am surprised no one noticed that before. Even on internet we should try to write correctly.
So is documentation for example, screenshots and things like samples and demos.asgard20032 wrote:Also, I agree with FrEdDy, video is so bad to learn... But its a good way to show what are the feature and possibility without getting into it. We can see if it look native or not, in the case of a GUI library.
I agree with it all, except for the exercises. I'm not much of a fan of forced exercises like the ones you described because most of all, they have nothing to do with actual problems you have at hand. Studying other programs (examining the source code, modifying it, adding new features, removing bugs, reversing) is what I personally found more interesting than doing exercises like the ones you described, because I could see what my progress is, and there is a sense of achievement as well.asgard20032 wrote:But I think its more important to develop some programming skill before mastering the language itself. For example, its more important to be able to make a bubble sorting algorithm, do Fibonacci in both, recursive and in iterative, than know every feature like union. But we still have to learn those feature one day. But I just wanted to say that there are some feature not essential to learning programming itself. In programming, the most important is the logic itself, not the mastering the language. Programming logic can be translated to any language. We can't say the same for language. Yeah, we can easily learn every C like language once we know C or one of its descendant, but learning non-C like language... Programming logic, C-like language or not, machine language or not... When learning programming, like I said, we should focus on programming itself, not the language. I mean by that that when we learn C, for example, every time we learn something new, we should try to practice it, trying to achieve something. For example, when we learn loop, we should right now start to do a bubble sorting algorithm. When we learn function, we should right now start to do a Factorial function. Know both, loop and function, then do factorial in iterative and recursive, and put your sorting algorithm in a function. Learn pointer, alright do.... We shouldn't rush and learn every feature without making some programming skill, it will just be totally useless. But once we learned C, we don't need to do the same with other C like language. (Except when learning a new paradigms, we need to adapt our knowledge to that new paradigms. But once we got Object paradigms, we can learn JAVA, C++, C# very very easily.)