Saturday 1 June 2013

EFFECTIVE PROGRAMMING

To be a Good Programmer one needs to keep in mind the various factors which Contributes in Program efficiency.......

A program efficiency is determined by :
  • 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

0 comments: