Read this first! General programming info
5 posters
Page 1 of 1
Read this first! General programming info
First off, a big welcome the complex but rewarding world of programming.
If you enjoy problem solving, mathematics or creating badass displays of colour, then you've come to the right place!
Where to start
There is no one language that every body uses and is "the best language". Different languages are good for different things
Here are some common tasks and suggestions on which language to use:
Batch jobs, small utility programming
Probably the biggest and best language for this sort of thing would be Python, with Perl coming a close second. Both languages are relatively easy to learn, and both have interpreters for both Windows and Linux.
Another choice would be Lua, which is best for small scripted applications (note scripted, not programmed)
Small games and useful windows applications
By far the best choice for this would be to use C#
It is a very nice language to use, and is also relatively easy to learn.
C# uses the .NET framework as its main library, meaning you have literally thousands of helpful classes and functions that allow you to accomplish nearly anything yourself
Another option is Java, which has almost identical syntax to C#. The advantage of Java is that your applications can run on pretty much any platform without any extra work on your part, and you can embed Java applications on a webpage
Large scale games development, low level processing
Pretty much the only answer to this is C++. Fast, low level and powerful, this is the best language for games programming. Use of a third party library such as SFML (which I personally use) makes your job much easier, unless of course you already know DirectX or OpenGL.
Web programming
I am not at all experienced in this area, but I do know that PHP is a good language for doing web programming.
Here's a summary of PHP:
"PHP is a widely-used general-purpose scripting language that is especially suited for web development and can be embedded into HTML. It generally runs on a web server, taking PHP code as its input and creating web pages as output. It can be deployed on most web servers and on almost every operating system and platform free of charge. PHP is installed on more than 20 million websites and 1 million web servers."
Ok, so how can I learn any of these languages?
C++
You should start off by reading Accelerated C++ as this book gives you a good foundation in the language. If you get a good amount into that, and you still want to learn more about the language, then give Effective C++ a read. This will introduce you to some of the more advanced features of the language, such as exception handling, correct object-oriented design and so on.
If books aren't your thing, then have a look at cplusplus.com.
They provide some beginner tutorials, as well as good documentation on most/all of the features of the standard template library (STL)
C#
I learnt C# by just playing around with it after I learnt C++, due to the similarities in syntax. I have heard that Head First C# is a good book to read if you want to learn the language from the ground up. The Visual C# Developer Centre is a good reference for all things .NET.
If you want to learn from a website, then C# Station provides one that you can try out.
PHP
The w3schools website provides a good tutorial to start learning PHP on, or so I am told. Another website to check out is tizag.com.
I've learnt a language to a good standard, where do I go from here?
Write programs! Focus on learning a specific area of programming (AI, procedural content generation, networking, ETC)
Ask lots of questions. The majority of programmers remember what it's like when you're learning, and so are more than willing to help others out. I for one am more than happy to help you out with a things for C++, C#, Lua, Visual Basic even, as well as a lot of general programming questions.
If you enjoy problem solving, mathematics or creating badass displays of colour, then you've come to the right place!
Where to start
There is no one language that every body uses and is "the best language". Different languages are good for different things
Here are some common tasks and suggestions on which language to use:
Batch jobs, small utility programming
Probably the biggest and best language for this sort of thing would be Python, with Perl coming a close second. Both languages are relatively easy to learn, and both have interpreters for both Windows and Linux.
Another choice would be Lua, which is best for small scripted applications (note scripted, not programmed)
Small games and useful windows applications
By far the best choice for this would be to use C#
It is a very nice language to use, and is also relatively easy to learn.
C# uses the .NET framework as its main library, meaning you have literally thousands of helpful classes and functions that allow you to accomplish nearly anything yourself
Another option is Java, which has almost identical syntax to C#. The advantage of Java is that your applications can run on pretty much any platform without any extra work on your part, and you can embed Java applications on a webpage
Large scale games development, low level processing
Pretty much the only answer to this is C++. Fast, low level and powerful, this is the best language for games programming. Use of a third party library such as SFML (which I personally use) makes your job much easier, unless of course you already know DirectX or OpenGL.
Web programming
I am not at all experienced in this area, but I do know that PHP is a good language for doing web programming.
Here's a summary of PHP:
"PHP is a widely-used general-purpose scripting language that is especially suited for web development and can be embedded into HTML. It generally runs on a web server, taking PHP code as its input and creating web pages as output. It can be deployed on most web servers and on almost every operating system and platform free of charge. PHP is installed on more than 20 million websites and 1 million web servers."
Ok, so how can I learn any of these languages?
C++
You should start off by reading Accelerated C++ as this book gives you a good foundation in the language. If you get a good amount into that, and you still want to learn more about the language, then give Effective C++ a read. This will introduce you to some of the more advanced features of the language, such as exception handling, correct object-oriented design and so on.
If books aren't your thing, then have a look at cplusplus.com.
They provide some beginner tutorials, as well as good documentation on most/all of the features of the standard template library (STL)
C#
I learnt C# by just playing around with it after I learnt C++, due to the similarities in syntax. I have heard that Head First C# is a good book to read if you want to learn the language from the ground up. The Visual C# Developer Centre is a good reference for all things .NET.
If you want to learn from a website, then C# Station provides one that you can try out.
PHP
The w3schools website provides a good tutorial to start learning PHP on, or so I am told. Another website to check out is tizag.com.
I've learnt a language to a good standard, where do I go from here?
Write programs! Focus on learning a specific area of programming (AI, procedural content generation, networking, ETC)
Ask lots of questions. The majority of programmers remember what it's like when you're learning, and so are more than willing to help others out. I for one am more than happy to help you out with a things for C++, C#, Lua, Visual Basic even, as well as a lot of general programming questions.
Chris220- Moderator
- Posts : 58
Join date : 2010-07-15
Age : 31
Location : Right behind you
Re: Read this first! General programming info
Thanks Chris. Writing PHP that many times made me choke on my food
I think you should mention Ruby in here, although I know you haven't used it. Ruby is an excellent language - very easy to learn if you are a beginner. It may not have many (any) good libraries for GUI stuff, and it isn't the fastest out there (interpreted). It is, however, mostyl popular due to an excellent extension, Ruby on Rails, which is a web app development framework. It also has other web dev frameworks. I much prefer using Ruby for web stuff than PHP.
And finally, I'd love if you mentioned Cobra, but it's too new a language for many.
I think you should mention Ruby in here, although I know you haven't used it. Ruby is an excellent language - very easy to learn if you are a beginner. It may not have many (any) good libraries for GUI stuff, and it isn't the fastest out there (interpreted). It is, however, mostyl popular due to an excellent extension, Ruby on Rails, which is a web app development framework. It also has other web dev frameworks. I much prefer using Ruby for web stuff than PHP.
And finally, I'd love if you mentioned Cobra, but it's too new a language for many.
JHaskly- Admin
- Posts : 235
Join date : 2010-07-16
Age : 28
Location : Brisbane
Re: Read this first! General programming info
The aim of this was to suggest the most popular languages for each task, which I have
I didn't want to list too many languages and swamp the people reading with loads of choices
Edit your post to include an "addon" article where you can describe alternatives and provide links to tutorials and such!
I didn't want to list too many languages and swamp the people reading with loads of choices
Edit your post to include an "addon" article where you can describe alternatives and provide links to tutorials and such!
Chris220- Moderator
- Posts : 58
Join date : 2010-07-15
Age : 31
Location : Right behind you
Re: Read this first! General programming info
Sure. But remember: popular does not go hand in hand with best.
JHaskly- Admin
- Posts : 235
Join date : 2010-07-16
Age : 28
Location : Brisbane
Re: Read this first! General programming info
Heh, they're popular for a reason
Don't feel hurt because I didn't put your favourite languages up there. PHP isn't my favourite either, in fact I hate it. But the fact remains it's the most accessible and popular language there is for web development so far
Don't feel hurt because I didn't put your favourite languages up there. PHP isn't my favourite either, in fact I hate it. But the fact remains it's the most accessible and popular language there is for web development so far
Chris220- Moderator
- Posts : 58
Join date : 2010-07-15
Age : 31
Location : Right behind you
Re: Read this first! General programming info
I don't feel hurt at all
I've long ago realized that Ruby isn't the most popular language out there.
I've long ago realized that Ruby isn't the most popular language out there.
JHaskly- Admin
- Posts : 235
Join date : 2010-07-16
Age : 28
Location : Brisbane
Re: Read this first! General programming info
Ah, I will need that C++ tutorials, since I need it for my 4th year! XD Advanced knowledge
Re: Read this first! General programming info
Juz: By all means make threads about Ruby and Cobra, provide lots of information so people can learn from them! I'd be happy to learn Ruby and/or Cobra; the more languages I know, the better!
Chris220- Moderator
- Posts : 58
Join date : 2010-07-15
Age : 31
Location : Right behind you
Re: Read this first! General programming info
I'm gonna learn Python, my friend and I will make a game
Yet, opening a pygame window is loong... MY PC SUX
Yet, opening a pygame window is loong... MY PC SUX
Re: Read this first! General programming info
Well, I'm thinking of learning D now. It looks nice and fast, isn't .NET, and has a sweet 3D game engine
JHaskly- Admin
- Posts : 235
Join date : 2010-07-16
Age : 28
Location : Brisbane
Re: Read this first! General programming info
Is it just me, or are most of those names single letters or about snakes?
madbob2- Tank
- Posts : 87
Join date : 2010-07-16
Age : 27
Location : Orz Lake.x
Re: Read this first! General programming info
They are single letters, because the average programmer can't strign more together at once.
Just Kidding! I don't want Chris to kill me
And now I'm learning Haskell!
Just Kidding! I don't want Chris to kill me
And now I'm learning Haskell!
JHaskly- Admin
- Posts : 235
Join date : 2010-07-16
Age : 28
Location : Brisbane
Re: Read this first! General programming info
isn't that your name?
RA2lover- Walker
- Posts : 382
Join date : 2010-10-11
Age : 29
Location : Brazil
Re: Read this first! General programming info
Part of it happens to be in my name, but I started learning Haskell after this name came to be
JHaskly- Admin
- Posts : 235
Join date : 2010-07-16
Age : 28
Location : Brisbane
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum