Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
design:coding_standards [2010/07/23 16:29] jeffdesign:coding_standards [2020/11/19 14:21] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Tasks ======
 +
 +===== determining schedule =====
 +
 +  * Short - Less than a week ( a day or 2)
 +  * Medium - 1 week
 +  * Long - +2 weeks
 +  * Suxly - Unknown.  this is considered a hard task.
 +
 +===== Logging effort =====
 +
 +  * use the comment you put in svn to comment the work you did for a given task.
 +  * 95% complete means that you are done and the task needs to be reviewed
 +  * 90% complete means that the task has some rework that needs done
 +  * 100% complete means that the task is done but this can only be set by the manager.
 +
 ====== Coding Standards ====== ====== Coding Standards ======
 [[http://www.possibility.com/Cpp/CppCodingStandard.html|Professional's Opinion]] [[http://www.possibility.com/Cpp/CppCodingStandard.html|Professional's Opinion]]
 +
 +[[http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml|Google's Opinion]]
 +
 +[[http://blogs.msdn.com/b/cjacks/archive/2008/02/05/where-should-i-write-program-data-instead-of-program-files.aspx|Windows Folders]]
  
 ===== Version Control ===== ===== Version Control =====
Line 10: Line 30:
 ==== SVN ==== ==== SVN ====
 Help on how svn works behind a proxy: Help on how svn works behind a proxy:
 +
 +Eclipse: http://tabaquismo.freehosting.net/ignacio/eclipse/tortoise-svn/subversion.html
  
 You will need svn for command line which is availible through collabnet.  Once installed on a windows machine, navigate to You will need svn for command line which is availible through collabnet.  Once installed on a windows machine, navigate to
Line 19: Line 41:
 Files that are not allowed: Files that are not allowed:
 <code> <code>
-*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo *.rej *~ #*# .#* .*.swp .DS_Store *.ncb *.sln *.suo Debug Release *.user bin obj+*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo *.rej *~ #*# .#* .*.swp .DS_Store *.ncb *.suo DebugRelease*.user bin obj build out
 </code> </code>
 +
 +==== GitLab ====
 +
 +May want to switch to GitLab.  It integrates everything I've setup and configured with dokuwiki/svn
 +  * [[https://about.gitlab.com/downloads/]]
  
 ===== Versioning ===== ===== Versioning =====
Line 49: Line 76:
 For PHP use For PHP use
  
-For ActionScript use+For ActionScript similar to Java
  
 For HTML use For HTML use
Line 113: Line 140:
  
 ===== Code Format ===== ===== Code Format =====
-Spacing will be 4 spaces for tabs.  If your editor supports it, which most do, change your tabs to spaces and make sure it is 4.  For a single file of code always put variables first, then helper functions then execution functions.  This goes for classes as well.  Contructors and destructors and other class specific functions should come before member functions.+Spacing will be 4 spaces for tabs.  If your editor supports it, which most do, change your tabs to spaces and make sure it is 4.  For a single file of code always put variables first, then helper functions then execution functions.  This goes for classes as well.  Contructors and destructors and other class specific functions should come before member functions.  As for classes this should be one class to one file.
  
 Sample Sample
Line 122: Line 149:
     static int VAR_WITH_SPACES;     static int VAR_WITH_SPACES;
  
-    // Variable declerations+    // Public Variable declerations 
 +    int m_VarNoSpaces; 
 + 
 +    // Protected Variable declerations 
 +    int m_VarNoSpaces; 
 + 
 +    // Private Variable declerations
     int m_VarNoSpaces;     int m_VarNoSpaces;
  
Line 157: Line 190:
   jtf_NameOfUser // Gui var in this case it's "java text field"   jtf_NameOfUser // Gui var in this case it's "java text field"
  
 +===== Tools =====
 +
 +  * [[https://nodered.org/|node-red]]
 +  * [[https://grafana.com/grafana/|grafana]]
 +  * mosquito - MQTT
 +  * [[https://webaim.org/resources/contrastchecker/|Color correct]]
 +  * [[|User Accessibility]]
 +  * [[https://jsoneditoronline.org/|JSON Editor]]
 +  * [[https://regexr.com/|RegEx Parser]]
 +  * [[https://beautifier.io/|Javascript Beautifier]]
 +  * [[http://microjs.com/|microjs]]
 +  * ESLint
 +  * Puma
 +  * [[http://ankhsvn.open.collab.net/|Ank SVN]]
 +  * [[http://jsonviewer.codeplex.com/|JSON Viewer]]
 +  * [[http://tortoisesvn.net/|TortoiseSVN]]
 +  * [[http://versionsapp.com/|Versions - Mac SVN]]
 +  * Visual Studio - [[https://visualstudiogallery.msdn.microsoft.com/579d3a78-3bdd-497c-bc21-aa6e6abbc859|Configuration Transform]]
design/coding_standards.1279902568.txt.gz · Last modified: 2020/11/19 14:21 (external edit)
Back to top
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0