Download presentation
Presentation is loading. Please wait.
Published byWarren Nickolas Berry Modified over 9 years ago
1
The Reddick-Gray Unified Naming Conventions Version 2.00 © 2015 by David A. Gray, MBA www.wizardwrx.com
2
Overview What is a naming convention? Why use a naming convention? What is the Reddick-Gray Unified Naming Convention? How do RVBANC and RGUNC differ? Why use these conventions? © 2015 David A. Gray, MBA. All rights reserved.
3
What is a naming convention? Systematic way of naming code objects Document attributes –Type – What kind of value does it store? –Scope – How much of the code uses it? –Intended Use – Is it an index, or does it store a current or absolute limit of another variable? Guidance – not rules – for naming things © 2015 David A. Gray, MBA. All rights reserved.
4
Why use a naming convention? Consistently name objects of a kind in mixed language projects. Improve communication among programmers. Simplify maintenance of long lived code and large code bases. Make code more “self documenting.” © 2015 David A. Gray, MBA. All rights reserved.
5
What is the Reddick-Gray Unified Naming Convention? Based on the work of Charles Simonyi,Stan Leszynski and Greg Reddick. Extended and simplified based on over 20 years of daily use. Unified naming convention for all programming languages, including: –JavaScript, ECMAScript, TypeScript –Perl, PHP, Python, Ruby –C, C++, C#, Objective-C © 2015 David A. Gray, MBA. All rights reserved.
6
How do RVBANC and RGUNC differ? RGUNC is a unified naming convention for all programming languages, including: –BASIC (all dialects) –C (all dialects) –JavaScript (all dialects) –Perl (and other languages with deep roots in C) RGUNC differentiates parameters from other variables. RGUNC supports simplified tagging for loosely typed languages such as JavaScript, Perl, PHP, and Python. RGUNC resolves ambiguities in the naming of identical Access and VB form objects. RGUNC recommends a simplified convention for tagging user defined object names. © 2015 David A. Gray, MBA. All rights reserved.
7
Why use these conventions? Simplified treatment of user defined objects. Simplifications for use in loosely typed languages (VBScript, Jscript, Perl, etc.) Removes ambiguities introduced by addition of VB objects. Covers all languages in wide use today. Extensible to new languages. © 2015 David A. Gray, MBA. All rights reserved.
8
Demo A walk through the RGUNC
9
Availability http://www.wizardwrx.com/Techni calArticles/docs/rgunc.pdf
10
Questions rgunc@wizardwrx.com rgunc@wizardwrx.com
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.