SlideShare a Scribd company logo
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

PPTX
Coding standards
PPS
Coding Best Practices
PPTX
Coding conventions
PPTX
Coding standards
PPSX
Coding standard
PPT
Coding standard
PPTX
Coding standards for java
Coding standards
Coding Best Practices
Coding conventions
Coding standards
Coding standard
Coding standard
Coding standards for java

What's hot (20)

PDF
Introduction to kotlin
PPTX
Coding conventions
PDF
Methods in Java
PPT
Types of exceptions
PPTX
Structure of java program diff c- cpp and java
PPTX
Compiler design
PPTX
Coding standard and coding guideline
PPTX
C# lecture 2: Literals , Variables and Data Types in C#
PPT
PPTX
Final keyword in java
PPSX
Collections - Maps
PDF
Lesson 03 python statement, indentation and comments
PPTX
Collections in-csharp
PDF
Python Programming - Files & Exceptions
PPTX
Software development best practices & coding guidelines
PDF
Java I/o streams
PPTX
C# classes objects
PDF
Code Refactoring
PPTX
Basics of Object Oriented Programming in Python
PPT
sets and maps
Introduction to kotlin
Coding conventions
Methods in Java
Types of exceptions
Structure of java program diff c- cpp and java
Compiler design
Coding standard and coding guideline
C# lecture 2: Literals , Variables and Data Types in C#
Final keyword in java
Collections - Maps
Lesson 03 python statement, indentation and comments
Collections in-csharp
Python Programming - Files & Exceptions
Software development best practices & coding guidelines
Java I/o streams
C# classes objects
Code Refactoring
Basics of Object Oriented Programming in Python
sets and maps
Ad

Similar to Coding standards and guidelines (20)

DOCX
Coding Best Practices.docx
PDF
7 rules of simple and maintainable code
PPTX
Programming style guildelines
PDF
In-Depth Guide On WordPress Coding Standards For PHP & HTML
PPT
c-coding-standards-and-best-programming-practices.ppt
DOCX
csharp.docx
ODP
Documenting Code - Patterns and Anti-patterns - NLPW 2016
PPTX
Writing High Quality Code in C#
PPTX
Coding standards
PPTX
Code review
TXT
PDF
Pragmatic Patterns of Ruby on Rails - Ruby Kaigi2009
PPTX
On Coding Guidelines
PPTX
WordCamp Pune 2017- WordPress Coding standards
PPTX
Machine Coding , Machine Language and AI
PPTX
WordPress Coding Standards & WP Hooks
PPTX
C:\Fakepath\Combating Software Entropy 2
PPTX
C:\Fakepath\Combating Software Entropy 2
ODP
Documenting code yapceu2016
PPTX
Let's PHP in a better way! - Coding Recommendations.
Coding Best Practices.docx
7 rules of simple and maintainable code
Programming style guildelines
In-Depth Guide On WordPress Coding Standards For PHP & HTML
c-coding-standards-and-best-programming-practices.ppt
csharp.docx
Documenting Code - Patterns and Anti-patterns - NLPW 2016
Writing High Quality Code in C#
Coding standards
Code review
Pragmatic Patterns of Ruby on Rails - Ruby Kaigi2009
On Coding Guidelines
WordCamp Pune 2017- WordPress Coding standards
Machine Coding , Machine Language and AI
WordPress Coding Standards & WP Hooks
C:\Fakepath\Combating Software Entropy 2
C:\Fakepath\Combating Software Entropy 2
Documenting code yapceu2016
Let's PHP in a better way! - Coding Recommendations.
Ad

Recently uploaded (20)

PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
cuic standard and advanced reporting.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Machine Learning_overview_presentation.pptx
PPTX
Spectroscopy.pptx food analysis technology
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Electronic commerce courselecture one. Pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Approach and Philosophy of On baking technology
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
A Presentation on Artificial Intelligence
PDF
Encapsulation theory and applications.pdf
PPTX
Big Data Technologies - Introduction.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Building Integrated photovoltaic BIPV_UPV.pdf
cuic standard and advanced reporting.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Machine Learning_overview_presentation.pptx
Spectroscopy.pptx food analysis technology
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Network Security Unit 5.pdf for BCA BBA.
Electronic commerce courselecture one. Pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Spectral efficient network and resource selection model in 5G networks
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Approach and Philosophy of On baking technology
Per capita expenditure prediction using model stacking based on satellite ima...
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
A Presentation on Artificial Intelligence
Encapsulation theory and applications.pdf
Big Data Technologies - Introduction.pptx
The AUB Centre for AI in Media Proposal.docx

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