Naming is Hard: Let's Do Better - Kate Gregory - NDC TechTown 2024

NDC Conferences January 2, 2025
Video Thumbnail

About

No channel description available.

Video Description

This talk was recorded at NDC TechTown in Kongsberg, Norway. #ndctechtown #ndcconferences #developer #softwaredeveloper Attend the next NDC conference near you: https://ndcconferences.com https://ndctechtown.com/ Subscribe to our YouTube channel and learn every day: / @NDC Follow our Social Media! https://www.facebook.com/ndcconferences https://twitter.com/NDC_Conferences https://www.instagram.com/ndc_conferences/ #cplusplus #code C++ developers are famously bad at naming: our idioms, guidelines, and lore are rich in examples of terrible names. For example, consider RAII, which stands for scope bound resource management, or west const which perhaps should be const west, or all the samples that feature an object called x which is an instance of a class called X, and so on. The good news is that naming well is a learned skill, and you can learn it, and start to name better right away. In this talk, I'll tell you why names matter, what benefits a good name can bring, and how to be better at naming. I'll discuss some categories of names and some common decisions within those categories. I'm not going to give you a set of rules to follow: this is about thinking and considering the meaning of the things you are naming. I will give you some questions to ask yourself and some structure that I use to help me to help those who read what I write. I'll also address renaming things in existing (legacy) code, why and when to do it, and why getting it right the first time may not even be a realistic goal. You should be a lot more confident naming things after we spend this time together.

You May Also Like

Unleash Your Creativity

AI-recommended products based on this video

Loading...
12 Colors Nail Art Pens Set, Nail Art Markers Polish Pen for 3D Nail Art, Drawing Painting Liner Brush for DIY Nail Art Beauty Adorn Manicure Tools (12Pcs)

12 Colors Nail Art Pens Set, Nail Art Markers Polish Pen for 3D Nail Art, Drawing Painting Liner Brush for DIY Nail Art Beauty Adorn Manicure Tools (12Pcs)

(1)
$16.98
$6.99 delivery Jan 2 - 6
Loading...
12 Colors Nail Art Pens Set - Professional Nail Art Markers for 3D DIY Design, Quick Dry Nail Polish Pens for Painting, Dotting & Fine Liner - Precision Tip Nail Tools for Adults & Beginners

12 Colors Nail Art Pens Set - Professional Nail Art Markers for 3D DIY Design, Quick Dry Nail Polish Pens for Painting, Dotting & Fine Liner - Precision Tip Nail Tools for Adults & Beginners

(10)
$12.98
FREE delivery Sat, Jan 31 on your first order
300+ bought in past month
Loading...
10 Herb Garden Planter Indoor Kit, 44pcs Complete Kitchen Herb Starter Set Including Burlap Pots, Markers, Soil Discs, Gardening Tools, Unique Easter/Birthday/Christmas Gift Ideas for Women, Mom

10 Herb Garden Planter Indoor Kit, 44pcs Complete Kitchen Herb Starter Set Including Burlap Pots, Markers, Soil Discs, Gardening Tools, Unique Easter/Birthday/Christmas Gift Ideas for Women, Mom

(72)
$74.84$74.68
FREE delivery Jun 11 - 13
Loading...
Nail Art Pens Set 12 Colors Nail Art Markers, Nail Polish Pens Drawing Painting Pen for Home Salon,Quickly Dry Nail Art Nail DIY Decoration for Adult Kids 12 gel colors (1 Set)

Nail Art Pens Set 12 Colors Nail Art Markers, Nail Polish Pens Drawing Painting Pen for Home Salon,Quickly Dry Nail Art Nail DIY Decoration for Adult Kids 12 gel colors (1 Set)

(0)
$16.99
$0.99 delivery Jan 5 - 9
Loading...
HQCME 9 Pack Lined Sticky Notes, 4X6 in, 9 Pastel Colors Large Ruled Stickies Colorful Super Sticking Power Memo Pads Strong Adhesive, Sticky Notes with Lines for Home, Office

HQCME 9 Pack Lined Sticky Notes, 4X6 in, 9 Pastel Colors Large Ruled Stickies Colorful Super Sticking Power Memo Pads Strong Adhesive, Sticky Notes with Lines for Home, Office

(1,909)
$10.99
FREE delivery Sat, Jun 14 on your first order
1K+ bought in past month
Loading...
12 Colors Nail Art Pens Set - Professional Nail Art Markers for 3D DIY Design, Quick Dry Nail Polish Pens for Painting, Dotting & Fine Liner - Precision Tip Nail Tools for Adults & Beginners

12 Colors Nail Art Pens Set - Professional Nail Art Markers for 3D DIY Design, Quick Dry Nail Polish Pens for Painting, Dotting & Fine Liner - Precision Tip Nail Tools for Adults & Beginners

(10)
$12.98
FREE delivery Sat, Jan 31 on your first order
300+ bought in past month
Loading...
Monster N-Lite 211 Wireless Earbuds, Bluetooth 6.0 Stereo Headphones with Noise-Cancelling Mic and LED Display, Built-in Mic for Clear Calls, Waterproof Design for Sports

Monster N-Lite 211 Wireless Earbuds, Bluetooth 6.0 Stereo Headphones with Noise-Cancelling Mic and LED Display, Built-in Mic for Clear Calls, Waterproof Design for Sports

(8)
$39.99
FREE delivery Tue, Nov 4
Loading...
Monster N-Lite 211 Wireless Earbuds, Bluetooth 6.0 Stereo Headphones with Powerful Bass, Built-in Noise-Cancelling Mic for Clear Calls, LED Display, 36H Playtime, IPX5 Waterproof Design for Sports

Monster N-Lite 211 Wireless Earbuds, Bluetooth 6.0 Stereo Headphones with Powerful Bass, Built-in Noise-Cancelling Mic for Clear Calls, LED Display, 36H Playtime, IPX5 Waterproof Design for Sports

(40)
$39.99
FREE delivery Thu, Nov 13
Loading...
HLDIRECT 47 Inch Gaming Desk with LED Lights, Home Office Gamer Desk, Ergonomic Computer Table with Large Carbon Fiber Desktop, Computer Desk with Cup Holder & Headphone Hook for Home Office, Black

HLDIRECT 47 Inch Gaming Desk with LED Lights, Home Office Gamer Desk, Ergonomic Computer Table with Large Carbon Fiber Desktop, Computer Desk with Cup Holder & Headphone Hook for Home Office, Black

(591)
$107.99
FREE delivery Thu, Jun 26
Loading...
FOYTOKI 2 Sets Rechargeable Hand Warmers Portable with Temperature Levels Ergonomic Design for School Office

FOYTOKI 2 Sets Rechargeable Hand Warmers Portable with Temperature Levels Ergonomic Design for School Office

(0)
$14.15
FREE delivery Jul 2 - 22
Loading...
IMGadgets 47 x 24 Inches Height Adjustable Electric Standing Desk 2024, 5th Gen Quieter Motor Ergonomic Sit Stand Up Home Office Computer Desk with Height Memory Buttons, Display, 2 Headphone Holders
Best Seller

IMGadgets 47 x 24 Inches Height Adjustable Electric Standing Desk 2024, 5th Gen Quieter Motor Ergonomic Sit Stand Up Home Office Computer Desk with Height Memory Buttons, Display, 2 Headphone Holders

(438)
$169.95
FREE delivery Thu, Jun 26
200+ bought in past month
Loading...
SEVEN WARRIOR Gaming Desk with LED Lights & Power Outlets, 55" Computer Desk with Monitor Shelf, Home Office Desk with Cup Holder and Headphone Hook, Ergonomic, Carbon Fiber Surface Black

SEVEN WARRIOR Gaming Desk with LED Lights & Power Outlets, 55" Computer Desk with Monitor Shelf, Home Office Desk with Cup Holder and Headphone Hook, Ergonomic, Carbon Fiber Surface Black

(693)
$109.99
FREE delivery Thu, Jun 26
Loading...
LED Desk Lamp with Dual Heads, Height Adjustable, USB Charging Port, 5 Light Modes & Dimmable Brightness, Bedside Lamp for Reading, Crafting, Work, Study (White, 15W)

LED Desk Lamp with Dual Heads, Height Adjustable, USB Charging Port, 5 Light Modes & Dimmable Brightness, Bedside Lamp for Reading, Crafting, Work, Study (White, 15W)

(3,090)
$20.99
FREE delivery Sat, Jun 14 on your first order