Discuss why naming conventions are important and why program

Discuss why naming conventions are important and why programmers should consistently follow them. Include in this discussion problems that could arise in naming variables.

Discuss the process of file input and file output, including the uses of different manipulators that you found useful. Do not leave out any details; expand the discussion with your own experiences.

Solution

Answer

Naming conventions in the program is very important due to the reason without facing any problems during the execution of the program or project.

Generally Programmers are follows the naming conventions in their project because of accessing data anywhere in the project that means programmer writes a code in the program, that code that is functionality of that program that can be used anywhere in the project or module using that class object or packages using import statements based on the object oriented language programing language conditions. That means the usage of that functionality anywhere in the project using that class object, you can get the properties’, methods of that class easily in any another programmer it will comes under the inheritance or reusability of the functionality of the Existing code in the Project, So in that case follow the naming conventions , it will gives the brief idea about what it is, from which class it was accessing, what type of class, what type of variable like private, public ,protected based on this naming convention you can know the whether access the data or not based on your condition.

From beginning level of the project we are follow the naming conventions like it is camel Case, sometimes underscore (_) between the words.

Without follow the naming conventions code cannot be understandable by other Programmers who are need to enhancement of that code in the Project.

Sometimes ambiguity problems occurs while names are same , so avoid this follow the naming convention.

File Input and File Output

Coming to the File Input , Here we are using text file Concept for reading data and storing the data, copy the data from one file to another file using file Operations of the whatever language using .

In One Example, Project contains the lots of Programs and code of that Project and Execution procedure, in this Scenario, using file operations concepts are used to generate the logs files for that project. This log will contains what type of errors

are occurred while executing the project.so based on that using that log file , resolve the issues of that project.

In another scenario while read the data from files like text files or csv files to use in the project for generating their funcionality of the Project based on requirement, In that case access the data from those files and use that data in the Project and Execute the Project.

In another Scenario while need to generate some text files or excel sheet to

Represent data to any customer, so in that case the Project will be generate the text files or csv files.

Using file Operations and Methods like read, write, seek, and open, close. and these Methods, from these methods manipulate the file data based on the Project

Requirement.

So these are general discussion about File Input and File Output operations

, methods.

Discuss why naming conventions are important and why programmers should consistently follow them. Include in this discussion problems that could arise in naming

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site