r/coding • • Apr 06 '23

How to Write Clean Code with Effective Naming Conventions

https://youtube.com/watch?v=-ZqPGSnFdPI&feature=share
0 Upvotes

2 comments sorted by

3

u/judasblue Apr 06 '23

DAE think in this shot Nyisztor looks like he just got done screaming at a group of SAS recruits on their first day of training and then took a quick break to talk a bit about variable names?

As for the video, it's exceptionally fundamental stuff. Not wrong, just it's pretty obvious at this point to give identifiers descriptive names and follow naming conventions.

3

u/leakka Apr 07 '23 edited Apr 07 '23

DAE think in this shot Nyisztor looks like he just got done screaming at a group of SAS recruits on their first day of training and then took a quick break to talk a bit about variable names?

As for the video, it's exceptionally fundamental stuff. Not wrong, just it's pretty obvious at this point to give identifiers descriptive names and follow naming conventions.

How did you know I'm a drill sergeant, not a software engineer?

And, of course, discussing variable names is the perfect way to take a break from verbally decimating recruits.
Speaking of recruits: while following naming conventions may seem like a no-brainer to seasoned developers, it may not be so obvious to those just starting out in the field.