General coding standards refers to how the developer writes code, so here we will discuss some essential standards regardless of the programming language being used. The following are some representative coding standards: Indentation: Proper and consistent indentation is essential in producing easy to read and maintainable programs. Indentation should be used to: Emphasize the body of a control structure such as a loop or a select statement. Emphasize the body of a conditional statement Emphasize a new scope block Inline comments: Inline comments analyze the functioning of the subroutine, or key aspects of the algorithm shall be frequently used. Rules for limiting the use of global: These rules file what types of data can be declared global and what cannot. Structured Programming: Structured (or Modular) Programming methods shall be used. "GOTO" statements shall not be used as they lead to "spaghetti" code, which is hard to read and maintain, except as out...
1206: Al-Jazari, an Arab engineer, invented a programmable drum machine that was able to play several drum patterns and rhythms through pegs and cams. Such a drum machine was a musical mechanical automaton. 1801: The Jacquard loom that was invented by Joseph Marie Jacquard (a French weaver) was able to produce different weaves by changing the 'program'. In the 9th century, various code-breaking algorithms were also introduced. An Arab mathematician Al-Kindi gave rise to an algorithm that was able to decipher the encrypted code. The algorithm was known as the Cryptographic algorithm. 1843: Ada Lovelace, a mathematician, published an algorithm for calculating a sequence of Bernoulli numbers. The algorithm was carried out by the Analytical Engine that was given by Charles Babbage. It was the year when the first computer program was dated. 1880: Herman Hollerith, an American inventor, invented the idea and concept to store data...
There are following multiple programming languages that allow programmers to process and execute small as well as large programs: C Language: The language was developed in 1972 by Dennis Ritchie and its laboratories at AT & T Bells It was basically designed and developed for implementing the UNIX OS. It is a structured programming language. C++: It was developed in 1983 and was an object-oriented version of the C programming language. C++ was developed for providing high-level abstractions so as to handle large development projects efficiently. C#: It was developed in 1983 , known as Objective-C by Apple . It was mainly created for addressing the lacking points of the object-oriented programming language. Later on, it was licensed by NeXt in 1988 . Python: It was developed in the late 1980s, which was an advanced programming language because it was object-oriented, inter...
Comments
Post a Comment