Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

Will the skills learnt to programme games transfer over to building web applications?

Hi

I can't wait for the Python course, so excited! I'm so excited to learn python that in the mean time I've been looking at a few books.

I've heard a lot about this one book called 'Python programming for absolute beginners' it's got some really good reviews, but a quick look at the contents reveals that it focuses on teaching how to programme small games, hangman, guess my number, blackjack ect ect.

My question is, if I learn this, will those skills transfer over to building web apps?

Best wishes, Michael

1 Answer

Learning how to program games generally helps all aspects of your Python Programming skills as games tend to have a very diverse range of programming in bedded into them. Need a Key Logger for your web app? Maybe you would already know how to get started as you needed to put one into your games to record which buttons the user/player was pressing (Up, Down, Left, Right, Mouse Buttons).

Does your Web App need to include rather sophisticated math? Almost all games have quite a bit of math in them especially when they start getting more in depth and advanced, such as being able to calculate how a ball on the screen will move, or maybe bounce off the edges of the screen.

Another thing is that in my opinion, any type of programming practice will generally help either directly or indirectly to your future projects.

So, in short, yes I believe that learning how to program games in Python will help you out when you are developing Web Applications. Best of luck in your Python Programming!

Oh wow, thanks Masaya, that's very helpful!

No problem, glad that I could be of help.