Ramu Narasingaramunarasinga.hashnode.dev·Jul 31, 2024Convert a string to camelCase using this function in Javascript.Ever needed to convert a string to camelCase? I found an interesting code snippet while exploring the open-source Supabase repository. Here’s the method they use: function featureToCamelCase(feature: Feature) { return feature .replace(/:/g, '_'...1 likeJavaScript
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 31, 2023C Naming ConventionC programming language has a set of naming conventions that help maintain clarity and consistency in code. Here's a breakdown of these conventions for various identifiers, constants, functions, files, etc., with examples: 1. Identifiers (Variables an...73 readsC Programming#namingconvention
Pranish Ajagekarpranish23.hashnode.dev·May 9, 2023String Cases in Programming: Understanding Camel Case, Pascal Case, Snake Case, Kebab Case, and Title CaseIn computer programming, several types of cases can be used to format strings. These include: Camel Case: This is a naming convention where the first word is in lowercase and the first letter of each subsequent word is capitalized. For example, myVa...405 readskebab-case
mawaworksmawaworks.hashnode.dev·Sep 21, 2022Choose the correct case style for your vuejs project to reduce debuggingYour beautifully coded component is not loading and there are no error messages in the web console. I define this as a silent fail, iIf you are a full stack engineer and work with different technologies, it’s good to have a vuejs debug checklist. Ad...63 readsVue.js