Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.

Sign up now

Programming the right way?

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
23 replies to this topic

#21 Krathoon   Members   


Posted 25 July 2013 - 12:23 PM

Here are some other useful books about best practices that I have picked up and seem to be popular:


Design Patterns: Elements of Reusable Object-Oriented Software



C++ Coding Standards: 101 Rules, Guidelines, and Best Practices


#22 Redellion   Members   


Posted 26 July 2013 - 01:56 AM

Hey Richard,


There is nothing wrong with hack and slash / rapid prototyping it can make you very productive, with that being said you need to train yourself to spot potential issues with the code you write and know the impact it may have.


That should give you a long term to-do list, just remember premature optimisation is the root of all evil.


So what to do?


Pick challenging personal projects which cover broad areas that are just beyond your current level, for example: an account management system with a login and user profile front end.


That should cover database and class design, security, state management etc, also you may end up with a reusable system for your future game projects.


Read up on topics before tackling them to give yourself a degree of confidence that you are going in the right direction.


Object Oriented Programming Concepts (Overview)

Object Oriented Programming Concepts (In Detail)

S.O.L.I.D. Principles of Class Design (Overview)

Software Design Patterns (Overview)


A couple of "classic" books which are fairly language agnostic:

  • Code Complete.
  • Patterns of enterprise application architecture.
  • The Pragmatic Programmer
  • Refactoring: Improving the Design of Existing Code


Useful websites for finding answers to technical questions:





Try picking up another programming language once you are confident, it will make you a more rounded programmer and will teach you something new that you can take with you in future.


Sorry this is a bit of scatter gun approach to answering your question, but hopefully you can find some useful information in there!



Edited by redellion, 26 July 2013 - 02:12 AM.

#23 LennyLen   GDNet+   


Posted 27 July 2013 - 08:31 AM

Like you should be using containers such as Vector instead of Arrays, trying to avoid pointers, and if you use a lot of New/Delete's then it's worth reading about RAII.

That doesn't sound like particularly good advice to be honest, at least not for a beginner. Arrays and pointers have particular uses and using a vector when an array is the more ideal solution is just as wrong as using an array when a vector would be better. At first, it's better to learn the difference between the two, and then learn when, and when not, to use them.

Avoiding pointers is just non-advice really (at least without context). If you're using Java, then you don't even have pointers, and if you're using C, just try and do anything meaningful without them.

#24 Malabyte   Members   


Posted 27 July 2013 - 09:25 AM

I can only talk about what I've been doing myself:


a) - Watch videos about computer science and programming, e.g. from Stanford University or UNSWlearning.

b) - Get/Read books about general programming concepts.

    b1 - For Java Programming (my discipline atm), get books like Effective Java Second Edition, Java The Complete Reference, etc.

    b2 - For general Programming and Problemsolving, get The Art of Computer Programming by Donald Knuth.

c) - Get a better IDE (if applicable) and be sure to make your own code as easy to read as possible, even to yourself. Proper commenting is key.

d) - Github and open source code sharing is your friend.



Edited by Malabyte, 27 July 2013 - 09:25 AM.

- Awl you're base are belong me! -

- I don't know, I'm just a noob -

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.