Think the Programmer Way Beginner Guide,

Sep 6
20:37

2011

Alisha North

Alisha North

  • Share this article on Facebook
  • Share this article on Twitter
  • Share this article on Linkedin

Learn all about c tutorial,learn c,c programming tutorial,c tutorials,c language tutorial,c language tutorials,free c tutorial,free c

mediaimage
Many people wonder how to get started with programming. Before settling down to work with a given projectdo this first. Start

noting down codes and ideas connected to the task in front of you. Depending on the nature of the project,Think the Programmer Way  Beginner Guide, Articles you may first

decide which approach you will adopt. The top-down approach corresponds to drafting codes for functions not defined so

far.This will otherwise mean working through the general algorithms before evolving the functions connected to processing.

This is in a way an abstract way of designing codes since the exercise begins from what you have not designed sofar or that

you are not so familiar with. On the other hand, the bottom-up approach in programming refers to starting at a particular

familiar point and then proceeding to work with new, unfamiliar and complex segments of the task at hand. Most interestingly,

the focus of both these approaches to programming is on the tasks involved in the programming and not the variables or the

objects that the program works on.

Experts in programming often say that the best way to programming is to first identify the variables involved in the task and

adopt the top-down approach to work with the variables. In this way,you will be able to maintain a solid foundation besides

getting to know about the progress of the task from time to time.Once this is done, you can design the codes pertaining to

every individual segment of the programme. In addition, this method also enables you accomplish the task in a comprehensive

way, free of elaborate and unnecessary functions.To sum up this approach,it offers you the raw materials you need to start

working that include the set of functions defined by the user,statements, loops and library functions.

For instance, you can imagine designing a programme for a rental video store.Your task is to assess the gross revenue ensuing

out of rentals. The various segments of this task might include
1.a variable to store the transaction amount at the end of the programme,
2.a temporary variable to record the code pertaining to the cost of a particular transaction,
3.a temporary variable to record the total number of days for which each of the videos was rented,
4.variables to count the number of days each of the differently priced videos were rented,Once these variables are

identified, you will know how to work with them in relation to each other. Thus, the second approach that I have mentioned

will prove to be the best way to programming.

Article "tagged" as:

Categories: