This video is the ultimate guide on how to name things as a programmer. We cover everything you need to know to write good names that are easy for you and other programmers to work with. The video is split into 3 sections:
1. the motivation for good names
2. general naming conventions that apply to all code
3. how to name specific things such as classes, functions and variables
Chapters:
0:00 Intro
0:56 Motivation for good names
General naming tips:
3:33 What's a good name
4:04 Have clear naming conventions
5:36 Use descriptive names
8:00 Conciseness matters
8:30 Consider the context
9:16 Casing, compound words, acronyms
11:45 Use semantic naming
16:57 Some tips from Uncle Bob
19:25 Some tips from the .NET naming conventions
Naming specific things:
21:15 Variables
24:32 Functions
26:15 Classes
30:04 Interfaces
31:21 Enums
32:11 Events, event handlers, "on"Event functions
36:17 PubSub (message bus) and analytics
38:39 File names
46:12 Packages and namespaces
49:10 Final tips
50:46 Outro
Video links:
Article version of this video: https://programmingduck.com/articles/...
Slides: https://docs.google.com/presentation/...
Channel links:
Programming Duck website: https://programmingduck.com
Facebook: / programming-duck-100207231868555
Instagram: / programmingduck
Resources used in video:
Music:
Music provided by HearWeGo (https://goo.gl/nDS3zR)
Artist: MARION
Title: High Hopes
Listen on YouTube: • MARION - High Hopes
Quack sound effect from Quick Sounds: https://quicksounds.com/sound/6616/qu...
Intro screen: https://trendslogo.com/after-effects-...
Subscribe button template - https://trendslogo.com/youtube-subscr...
Outro screen: https://trendslogo.com/outro-template...
#programmingduck #programming #coding