4
Most read
5
Most read
7
Most read
Coding standards and guidelinesPart 1Brij Raj SinghTechnical lead, The Perfect Future
If you don’t like peers/superiors to see your code !Your code have no standardsGood developer – always shows off his code with pride
Five point palm heart exploding technique
Points to nailNo more then 20 lines, functions, functions functions…….Write comments before you write codePascal casing for class names, Method Names    Camel casing for variables and method parameters Use meaningful names for your functions, classes and variablesEnough of underscores (_) ok? It isn't 1960 ; but you can use them for member variables.
Wanna fight moreDo not use single character variable namesDo not use underscores (_) for local variable namesPrefix boolean variables, properties and methods with “is” or similar prefixes.Like public boolisfinished=false;Namespace names should follow the standard pattern 	<company name>.<product name>.<top level module>.<bottom level module>Format it, it’s your publication, you want it to be readable right.
Next sessionsPart 2 – Closing on rest of coding standardsPart 3 – Tools to improve coding standards, documentation, and code review practicesPart 4 – Packaging your programs
Thanks Q.

More Related Content

PPS
Coding Best Practices
PPTX
Coding standards
PPSX
Coding standard
PPTX
Coding standard and coding guideline
PPTX
Coding standards for java
PPT
Coding standard
PDF
7 rules of simple and maintainable code
Coding Best Practices
Coding standards
Coding standard
Coding standard and coding guideline
Coding standards for java
Coding standard
7 rules of simple and maintainable code

What's hot (20)

PPTX
constructors in java ppt
PPTX
Introduction to Java -unit-1
PPTX
Coding conventions
PPT
Coding Standards & Best Practices for iOS/C#
PDF
C# conventions & good practices
PPTX
clean code book summary - uncle bob - English version
PPT
Design Patterns
PPTX
Javascript functions
PPT
Inheritance C#
PPT
Refactoring Tips by Martin Fowler
PDF
Class and Objects in Java
PPTX
JAVA AWT
PPTX
Clean Code Principles
PPTX
Clean Code I - Best Practices
PDF
Clean code
PPTX
C# coding standards, good programming principles & refactoring
PPTX
Clean code
PPT
PDF
Generics
PPTX
Solid principles
constructors in java ppt
Introduction to Java -unit-1
Coding conventions
Coding Standards & Best Practices for iOS/C#
C# conventions & good practices
clean code book summary - uncle bob - English version
Design Patterns
Javascript functions
Inheritance C#
Refactoring Tips by Martin Fowler
Class and Objects in Java
JAVA AWT
Clean Code Principles
Clean Code I - Best Practices
Clean code
C# coding standards, good programming principles & refactoring
Clean code
Generics
Solid principles
Ad

Viewers also liked (6)

PPTX
Coding and testing in Software Engineering
PPTX
Java best practices
PPTX
Coding standards
PDF
Coding by Example - Tutorial Agiles 2012
PPT
Software coding &amp; testing, software engineering
PPT
Testing Metrics
Coding and testing in Software Engineering
Java best practices
Coding standards
Coding by Example - Tutorial Agiles 2012
Software coding &amp; testing, software engineering
Testing Metrics
Ad

Similar to Coding standards and guidelines (20)

PPTX
Clean code
PPTX
Variables
PPTX
Coding standards
PPTX
Programming style guildelines
TXT
PPTX
Java_code_convention_ppt_report for group 1.pptx
PPT
Lecture No 13.ppt
PPT
c-coding-standards-and-best-programming-practices.ppt
PPTX
Writing High Quality Code in C#
PPTX
Software development best practices & coding guidelines
PDF
Crafting high quality code
PPT
Codings Standards
ODP
Clean Code - Part 2
PDF
Psr 2 coding style guide - Tidepool Labs
PPTX
Coding conventions
PDF
Naming guidelines for professional programmers
DOCX
CodingStandardsDoc
DOC
Coding standards php
PPT
N E T Coding Best Practices
Clean code
Variables
Coding standards
Programming style guildelines
Java_code_convention_ppt_report for group 1.pptx
Lecture No 13.ppt
c-coding-standards-and-best-programming-practices.ppt
Writing High Quality Code in C#
Software development best practices & coding guidelines
Crafting high quality code
Codings Standards
Clean Code - Part 2
Psr 2 coding style guide - Tidepool Labs
Coding conventions
Naming guidelines for professional programmers
CodingStandardsDoc
Coding standards php
N E T Coding Best Practices

Recently uploaded (20)

PDF
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
PDF
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
PDF
Decision Optimization - From Theory to Practice
PDF
Lung cancer patients survival prediction using outlier detection and optimize...
PPTX
How to Convert Tickets Into Sales Opportunity in Odoo 18
PDF
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf
PPTX
Report in SIP_Distance_Learning_Technology_Impact.pptx
PDF
Co-training pseudo-labeling for text classification with support vector machi...
PDF
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
PDF
Human Computer Interaction Miterm Lesson
PDF
Build Real-Time ML Apps with Python, Feast & NoSQL
PDF
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
PDF
Examining Bias in AI Generated News Content.pdf
PDF
The AI Revolution in Customer Service - 2025
PDF
Altius execution marketplace concept.pdf
PDF
Streamline Vulnerability Management From Minimal Images to SBOMs
PDF
NewMind AI Weekly Chronicles – August ’25 Week IV
PDF
A symptom-driven medical diagnosis support model based on machine learning te...
PDF
Advancing precision in air quality forecasting through machine learning integ...
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
Decision Optimization - From Theory to Practice
Lung cancer patients survival prediction using outlier detection and optimize...
How to Convert Tickets Into Sales Opportunity in Odoo 18
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf
Report in SIP_Distance_Learning_Technology_Impact.pptx
Co-training pseudo-labeling for text classification with support vector machi...
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
Human Computer Interaction Miterm Lesson
Build Real-Time ML Apps with Python, Feast & NoSQL
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
Data Virtualization in Action: Scaling APIs and Apps with FME
Examining Bias in AI Generated News Content.pdf
The AI Revolution in Customer Service - 2025
Altius execution marketplace concept.pdf
Streamline Vulnerability Management From Minimal Images to SBOMs
NewMind AI Weekly Chronicles – August ’25 Week IV
A symptom-driven medical diagnosis support model based on machine learning te...
Advancing precision in air quality forecasting through machine learning integ...

Coding standards and guidelines

  • 1. Coding standards and guidelinesPart 1Brij Raj SinghTechnical lead, The Perfect Future
  • 2. If you don’t like peers/superiors to see your code !Your code have no standardsGood developer – always shows off his code with pride
  • 3. Five point palm heart exploding technique
  • 4. Points to nailNo more then 20 lines, functions, functions functions…….Write comments before you write codePascal casing for class names, Method Names Camel casing for variables and method parameters Use meaningful names for your functions, classes and variablesEnough of underscores (_) ok? It isn't 1960 ; but you can use them for member variables.
  • 5. Wanna fight moreDo not use single character variable namesDo not use underscores (_) for local variable namesPrefix boolean variables, properties and methods with “is” or similar prefixes.Like public boolisfinished=false;Namespace names should follow the standard pattern <company name>.<product name>.<top level module>.<bottom level module>Format it, it’s your publication, you want it to be readable right.
  • 6. Next sessionsPart 2 – Closing on rest of coding standardsPart 3 – Tools to improve coding standards, documentation, and code review practicesPart 4 – Packaging your programs