DEV Community

Discussion on: Some tips on naming in software development

Collapse
 
codevault profile image
Sergiu Mureşan

I tend to think of my code as an extension to the existing core libraries and using the same naming convention is more aesthetically pleasing and consistent than using something else. Only in some specific cases it is functionally wrong:

  • Other language's conventions applied to HTML which is not case sensitive
  • When using automated serialization/deserialization (ex: gson or Hibernate in Java not finding getters and setters unless they contain the field's name starting with a capital letter)
  • When using reflection (although that is usually a problem when you have to use it on a project that doesn't use the same convention as the standard libraries)

I found out from experience that some libraries do make assumptions about what naming conventions you are using. In some very niche cases, where you don't have access to a good IDE and don't have autocomplete, it might even hinder productivity.

I started with Notepad++ as it is very language agnostic and I want the videos to stay that way. Thanks for the tip, if I find an IDE that fits the bill I will 100% use it.

You are the first person giving a thorough review on one of my videos and I really appreciate that and will keep in mind your feedback when going further, thank you!

Collapse
 
jhotterbeekx profile image
John Hotterbeekx

I tend to think of my code as an extension to the existing core libraries
I find this a really interesting concept, I haven't though about it like that. It is true that the basic language code gives you a lot of guidance in code style that you can just as easy take over. Thanks for that insight!

I also get where you come from with Notepad++. I still you it a lot as well, but not for coding. These days I love that I accepted IDE's and tools like Visual Studio (Code) and Resharper. They are making my life so much easier and my coding so much more productive.

Thread Thread
 
codevault profile image
Sergiu Mureşan • Edited

Definitely. My boss doesn't really like the idea of using a different IDE than Visual Studio 2013 for our project and, while I don't use it for web dev, some of my colleagues do and it definitely hinders their productivity :/

Sorry about the late response, busy week.