To be a Good Programmer one needs to keep in mind the various factors which Contributes in Program efficiency.......
- Program's execution speed
- Memory usage
- Resource usage
- Algorithmic Complexity
( K ) - Programming Methodology
- User Interfacing
- Optimization Technique
- Program Readability
- Cost
Some basic tips to make your program effective : - Prefer use of const , inline , enum etc
- Make sure objects are initialized before they are used
- Make use of constructor along with destructors
- Use console functions
- Reduce Iterations , conditions as they contribute to algorithmic Complexity
- Use objects to manage resources
- Make easy user interface
- Use OOPs
- Minimize dependencies between files
- Make effective use of Pointers , etc
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu1pntwN3kFhINXCRBFL_1p0TSHdI9WG_DFlMNKiu1WRZcGnKSFaJHRz2TE-xiQ6C3ZUZSzkP-l7psejzQQlUmNim5zP0feeG2BF9d-uO7dizj6A6SU3GaXynS3jutma1sV4qgUL-IxTjc/s1600/memory.gif)
0 comments:
Post a Comment