CSC/ECE 517 Summer 2008/wiki2 2 ar: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
==Problem face by source code== | ==Problem face by source code== | ||
# Organization of code | # Organization of code - Organization of code is a difficult job. As amount and complexity increases it become harder to do that. | ||
Organization of code is a difficult job. As amount and complexity increases it become harder to do that. | # Source code comprehension - Source code readability is actually associated with source [http://en.wikipedia.org/wiki/Program_comprehension code comprehension]. It is foundation through which a developer make sense of source code. There are some other [http://grok2.tripod.com/code_comprehension.html techniques/tools] available that support program comprehension but nothing could match with batter readable source code. | ||
# Source code comprehension | |||
# Complex computer language syntaxes | # Complex computer language syntaxes | ||
Revision as of 14:20, 25 June 2008
Introduction
Background
Source Code
The source code is a set of computer instructions written mostly in ASCII text following some specific high level computer language syntaxes. They are human readable and need some special programs (Compilers and Interpreters) to convert it into machine languages. They actually represent the logic of the program.
Problem face by source code
- Organization of code - Organization of code is a difficult job. As amount and complexity increases it become harder to do that.
- Source code comprehension - Source code readability is actually associated with source code comprehension. It is foundation through which a developer make sense of source code. There are some other techniques/tools available that support program comprehension but nothing could match with batter readable source code.
- Complex computer language syntaxes
Naming conventions
Benefits of standardize Naming conventions
General Naming conventions
Hungarian notations
Positional Notations
Composite word scheme
Language Specific Naming Conventions
Java
Ruby
Tools
Conclusion
Links
Coding conventions for languages
- ActionScript(Flex): Flex SDK coding conventions and best practices
- C++: C++ Programming/Code Style
- C++: GeoSoft's C++ Programming Style Guidelines
- C#: Coding Standard: C# (Philips Medical Systems)
- D: The D Style
- Erlang: Erlang Programming Rules and Conventions
- Java: Sun official Java coding style
- Lisp: Riastradh's Lisp Style Rules
- Mono: Programming style for Mono
- Perl: Perl Style Guide
- PHP::PEAR: PHP::PEAR Coding Standards
- Python: Style Guide for Python Code