2-1 Discussion: Naming Variables While there are no strict rules regarding what makes a variable name “good” or “bad,” it is useful to

2-1 Discussion: Naming Variables

While there are no strict rules regarding what makes a variable name “good” or “bad,” it is useful to consider factors that may improve or detract from the clarity of a variable’s name. In your initial post, provide an example of one variable name you believe to be successful and one example of a variable name you believe would need to be improved on. Explain your reasoning behind each of your selections. Why is it important to follow best practices in programming?

In response to your peers, consider the following:

· Do you agree with your peers’ examples of good and bad variable names? Why or why not?

· What could happen if best practices in programming are not followed?

· Why are variable names an important part of best practices? Use your peers’ examples to support your perspective.

· What do you believe would be the outcome if the purpose of a variable changes over time? Use one of the variables your peers selected to explain an example of the impact a change could have.

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

Please read and review any reputable article of your choice on the following topic: Business Continuity and Disaster Recovery. Focus specifically on the follow

Please read and review any reputable article of your choice on the following topic: Business Continuity and Disaster Recovery. Focus specifically on the following: planning, implementation, recovery, redundant technologies, types of drills and tests, and backup and offsite facilities. Article Reviews Be sure to follow these instructions in order to receive full

W6 Weekly Research Assignment Social Network Analysis

W6 Weekly Research Assignment Social Network Analysis Let’s try some social network analysis tools.  Download a social network analysis application. Here are some examples:  Note: There can be difficulties with regard to the Operating System you are using  Option 1  SocioViz (especially for twitter):   TouchGraph SEO Browser     Generate or find

Some research projects use an inverted pyramid data-collection strategy, with broad, quantitative measures gathered from a large population on top, narrowing

Some research projects use an inverted pyramid data-collection strategy, with broad, quantitative measures gathered from a large population on top, narrowing to more intensive qualitative measures (focus groups, individual interviews) with a smaller subset of the population at the bottom.  Can you imagine applying this approach to your Research Project?