Standardized Programming

Miscellaneous Forums/General Discussion/Standardized Programming

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I program Blitz for fun, which I suppose is why a majority of people here use it. Who can really be bothered with all these standards and documentation? Common sense goes a long way.

1. Indent always
2. Meaningful names for variables
3. Don't use globals unless there's a good reason
4. Rem statements to provide an overview.. not one per line!

At work we have to do everything by the book, all the documentation, design UML, coding standards. The reality is that I sit down and hack my code in before I do the UML, bacause I think it's more useful to encounter the issues hands-on rather than with a piece of paper. If I have to re-write later, so be it.