I realise that there is a great importance placed on organisational skills when coding.
I believe that my greatest weakness is my skill with my inability to properly organise.
I have had people comment on the way I set out my code and it's readability and I'm currently writing another console RPG this time I am using classes instead of structures and a headre file with mutliple source files rather than 1 source file.
I'm implementing emotions into objects (characters, as people might like to call them), so far I have been successful with that. Can anyone belive that I could do that?
[OT]
My ego and arrogance as a coder goes overboard when I accomplish something like that. Is that something I should control?
[/OT]
Although can't say the same with the way I organise everything.
My source files are a mess, things are all over the bloody place and sometimes when looking for things I tend to think along the lines of:
"Bloody hell, where is 'function A'? or WTF is 'variable A'?"
I have read several articles on organisation but they are just general guidelines which have only helped me to a certain extent.
Since you guys are expereinced coders, can you guys tell me how best to go about organising my files and what's inside them.
Should I have 1 function to 1 source file?
Should I initialise my classes in different header files or in my main header file (which I tend to call 'init.h') ?
As usual all help is appreciated, even criticism. Thanks.
I believe that my greatest weakness is my skill with my inability to properly organise.
I have had people comment on the way I set out my code and it's readability and I'm currently writing another console RPG this time I am using classes instead of structures and a headre file with mutliple source files rather than 1 source file.
I'm implementing emotions into objects (characters, as people might like to call them), so far I have been successful with that. Can anyone belive that I could do that?
[OT]
My ego and arrogance as a coder goes overboard when I accomplish something like that. Is that something I should control?
[/OT]
Although can't say the same with the way I organise everything.
My source files are a mess, things are all over the bloody place and sometimes when looking for things I tend to think along the lines of:
"Bloody hell, where is 'function A'? or WTF is 'variable A'?"
I have read several articles on organisation but they are just general guidelines which have only helped me to a certain extent.
Since you guys are expereinced coders, can you guys tell me how best to go about organising my files and what's inside them.
Should I have 1 function to 1 source file?
Should I initialise my classes in different header files or in my main header file (which I tend to call 'init.h') ?
As usual all help is appreciated, even criticism. Thanks.