Tracy NuwagabaforTracy's blogtracy.hashnode.net·May 14, 2021JavaScript naming conventionsJavaScript has a standard naming convention when naming variables, functions, and classes. Naming conventions improve code readability and make code maintenance much easier. When writing a program, you need to ask yourself whether your program will m...Ayodele Samuel Adebayo and 2 others are discussing this3 people are discussing thisDiscuss·75 likes·1.8K readsJavaScript
Darlan Tódero ten CatenforDTCodedarlantc.hashnode.net·Nov 17, 2020FeaturedSimple but powerful Coding Practices that you can adopt immediately: Naming and DRYEveryone can write code with the right focus to learn the basics. Good developers can write code that solves big problems in real life. But the best developers don't just write awesome code, their code is easily read and understood by other developer...Discuss·57 likes·430 readsSimple but powerful Coding Practicesclean code
Maxi Contieri⭐⭐⭐forMaximiliano Contieri - Software Designmcsee.hashnode.net·Nov 12, 2020Code Smell 22 - HelpersDo you need help? Who are you gonna call? TL;DR: Helpers don't help. They are a non-cohesive bunch of messy subroutines. Problems Readability The Least surprise principle Bijection Fault Static methods https://maximilianocontieri.com/what-exa...Rodion Borisov and 2 others are discussing this3 people are discussing thisDiscuss·52 likes·2.1K readsCode SmellsGeneral Programming
Sai PranayforSai Pranay's Blogsaipranay47.hashnode.net·Apr 21, 2023Decoding Naming Conventions: A Guide to Case Styles in CodingIntroduction Hello, fellow coders! In the programming world, naming conventions play a vital role in keeping our code readable, clean, and consistent. With so many case styles to choose from, finding the right one can be a bit overwhelming. In this b...Discuss·10 likes#namingconvention
Matías Navarro-CarterforThe Chilean Nerdmnavarro.hashnode.net·Apr 3, 2023Naming Interfaces in PHP, Java, et al.I've written about this already in a previous post, but I think it deserves a post of its own. I think it is time we stop appending the word Interface to our interfaces name. It is just completely unnecessary. The same goes for anything similar: prep...DiscussPet Peevesnaming
Andrea ChiarelliforThe Turing Machineandychiare-1672850528353.hashnode.net·Mar 25, 2023The Naming ProblemA famous quote by Phil Karlton reads, "There are only two hard things in Computer Science: cache invalidation and naming things." Leaving aside cache invalidation, which we can return to another time, why should naming things be so hard? Giving names...Discussnaming
Maxi Contieri⭐⭐⭐forMaximiliano Contieri - Software Designmcsee.hashnode.net·Feb 21, 2023Code Smell 197 - Gratuitous ContextTL;DR: Don't prefix or suffix your names with irrelevant information Problems Lack of Polymorphism Bad Naming Bijection violation with names Solutions Remove this context from your names Context In software development, gratuitous context ref...Discuss·1 like·83 readsCode SmellsGeneral Programming
Matías Navarro-CarterforThe Chilean Nerdmnavarro.hashnode.net·Jan 26, 2023My Top 3 PHP Naming Pet PeevesI've been writing PHP for quite a while now, but I do not write PHP the same way as when I started. In the beginning, like every developer, I just started by mimicking what other developers did: no surprise there. But along the way, I started to ques...DiscussPHP
Maxi Contieri⭐⭐⭐forMaximiliano Contieri - Software Designmcsee.hashnode.net·Dec 24, 2022Code Smell 188 - Redundant Parameter NamesTL;DR: Don't repeat your parameters' names. Names should be contextual. Problems Duplication Readability Solutions Remove the repeated part from the name Context When using names, we often miss that words are contextual and need to be read as ...Discuss·181 readsCode SmellsGeneral Programming
Maxi Contieri⭐⭐⭐forMaximiliano Contieri - Software Designmcsee.hashnode.net·Sep 16, 2022Code Smell 163 - Collection in NameTL;DR: Don't use 'collection' in your name. It is too abstract for concrete concepts. Problems Readability Abstraction Abuse Bad Naming Solutions Rename the collection with a specific name. Context Naming is very important. We need to deal a...Discuss·106 readsCode SmellsGeneral Programming
Phillippe SantanaforPhillCodephillcode.hashnode.net·Aug 25, 2022Enums should always be singularUse the singular form, enum OrderStatus instead of enum OrderStatuses, and enum ProductType instead of enum ProductTypes. An enum is often used to type a variable that will only ever hold a single enum value at a time, such as an Order that is either...Discuss·2 likes·941 readsTypeScript
Maxi Contieri⭐⭐⭐forMaximiliano Contieri - Software Designmcsee.hashnode.net·Jul 29, 2022Code Smell 153 - Too Long NamesTL;DR: Names should be long enough. No longer. Problems Readability Cognitive Load Solutions Use names related to the MAPPER Context We used very short names during the 50s and 60s due to space and time constraints. This is no longer the case ...Discuss·248 readsCode SmellsGeneral Programming
Samuel OwoeyeforOwoeye Samuelcyberxurde.hashnode.net·Jun 29, 2022Variable Naming ConventionsHi techies, if(namingConventionSeemLikeHell) console.log("Please, take a coffee and stay with me") Naming convention is a set of rules for choosing the character sequence to be used for identifiers which denote variables, types, functions, and other ...Discuss·71 readsnaming