Coding Standards and Naming Conventions

preview_player
Показать описание
Good coding standards makes it so you can find code faster, read and understand it easily, and increase reusability. One hour of forethought and planning can prevent literally hundreds of hours of unnecessary upkeep, straining for interpretation, and possible future bugs.

Readability - Text Searching - Consistency - Reusability

“Indeed, the ratio of time spent reading versus writing is well over ten to one. We are constantly reading old code as part of the effort to write new code. …[Therefore,] making it easy to read makes it easier to write.”
― Robert C. Martin

Robert C. Martin is an American software engineer, instructor, and best-selling author. He is most recognized for developing many software design principles and for being a founder of the influential *Agile Manifesto*.

If he's correct about how much time is wasted reading code, then as software developers it should be our utmost goal to improve our methodologies in order to fix this issue.

Imagine having to work 11 hours and knowing 10 of those hours will be reading and deciphering code so you can do one hour of coding and inserting it into the proper locations. If Coding Standards and Naming Conventions are strictly adhered to it is completely possible to change that so in an 8 hour day you spend only 4 hours reading code and the other 4 hours actually coding. Work 3 hours less and be 4 times more productive!

0:00 Introduction
0:55 Primary Goals
2:23 Case Types
4:14 Be Descriptive
7:13 Comments - Good and Bad
7:51 Developer Consistency
9:40 Change Requests
10:54 Text Searching
11:32 Syntax Standardization
12:49 Readability: Alignment, Indentation, Spacing
17:38 Be Consistent
19:03 From Here Onwards
20:16 Summary
21:11 Joke of the Day

Free download of Coding Standards and Naming Conventions PDF, plus link to the Programming Labs standards available at:
Комментарии
Автор

I didnt finish watching yet but I already know this tutorial is much higher than average on yt. Thank you.

KrisSu.
Автор

As an Informatics Engineering major, I'm taking notes of this for my future assignments. You explained things better than my professor!

farisfaikar_r
Автор

Wonderful video, audio quality top notch!

jivey
Автор

Thank you, I had a huge benefit, that's a great vidoe. I have only one question, why would you black list that developer maybe he would understand his mistakes and improve and become a much better programmer.

mohammadalaaelghamry
Автор

Seems overly harsh to fire someone for something like that, as it's something that can easily be trained out of someone.

FDozza
Автор

"Sit down Steve,
I saw your code and I know its working, but you were not consistent in your True/False statements, thats why you pack your staff and fack off"

lul

nemmychulimanga