Go to:  Site entry | Site contents | Site index | Personal Computer | References | Text bottom

Personal Computer  Code  Patterns

This is a collection of code patterns for some of the common Personal Computer programming tasks which tend to repeat from time to time.  When not singled out and classified these patterns get easily lost in the bulk of an application-specific code, and constant rewriting (and debugging) of them from scratch is a senseless waste of time.

Normally there are several ways to code the same logic, and some ways are better than the other in terms or size, effectiveness, readability and ease of modification.  These criteria are rather fuzzy (except for the "size"), and are affected by personal preferences.  Yet, there seems to exist a certain common sense consensus of what is "good" – like mnemonic names and labels, use of indentation, commenting, etc.

This selection is my attempt to collect the most usable of such "good" code patterns into one document hyperlinked for the ease of use, and accessible from anywhere and by anybody who might have interest in it.  However, this selection is not compiled for the Web only – rather it's my working reference which I try to maintain as accurate and current as possible.  As such it inevitably will always lack an overall integrity and completeness, yet it is still a rather useful tool that often saves time.

Most of the tasks originated from a real-life experience of a Personal Computer programmer.  Most of the solutions were coded and debugged in the process of practical programming of various applications.  Every pattern was checked to the best of my competence, and as a rule was tested by a substantial time of repeated usage.  This is not to suggest that it is in any way guaranteed to be error-free – you will be using any code you pick from this selection entirely at your own risk, and will be completely responsible yourself for any problems that might arise from this usage.  So when trying a code, please exercise the common sense precautions, and test it most thoroughly yourself before applying it to anything serious.

This legal mantra been chanted, I want to mention that all error reports and any comments about this code pattern selection are most welcome, and I'll try to do my best to fix any known problem as quick as I'll be able to do this.




Languages            Go to:  Text top | Tasks | Patterns | Index | Text bottom

Tasks            Go to:  Text top | Languages | Patterns | Index | Text bottom

Patterns            Go to:  Text top | Languages | Tasks | Index | Text bottom

Index            Go to:  Text top | Languages | Tasks | Patterns | Text bottom
Go to Languages       Go to Tasks       Go to Patterns       Go to Index

Copyright © 2008 by


 Go to:  Davar site entry | Site contents | Site index | Personal Computer | References | Text top