Variable Names — Verbs and Nouns Parsed From top Javascript Libraries

Variable Names — Verbs and Nouns Parsed From top Javascript Libraries

Building a Variable Name Dictionary by parsing React, Angular, Express and other JS library

The problem

When an error message is thrown in the error log or finding a solution to “sort json array by key python”, it is likely that I can find the answer or at least some hints on the Internet. But when it comes to naming a variable, it tells me to name a meaningful, expressive, self-descriptive variable. The variable names need to follow the convention. In Javascript, variable and function names should be written in camelCase. I should use nouns for variable names and verbs for function names. And never use a meaningless name such as foo and bar (it turns out many JS libraries are using them, but only for unit test or benchmark)

I know these rules. But the problem is not that my variable names violate these rules. The problem is I cannot come up with a variable name which I am satisfied. And I think it is because I don’t have enough “coding vocabulary” in my mind. Therefore, I decided to learn more vocabulary from other developers and tried to categorise them into verbs, nouns, and adjectives.

In the Javascript world, the giants are React, Angular, Express, and many other top libraries published in NPM.

github nodejs nlp coding javascript

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

GitHub Arctic Code Vault: Overview

Are you an Arctic Code Vault Contributor or have seen someone posting about it and don't know what it is. So let's take a look at what is an Arctic Code Vault Contributor and who are the ones who gets this batch.

Why JavaScript is the most used language in all over Github

Ever wondered why JavaScript is the most used language in all over Github, the most popular language on the StackOverflow and, top technology for software development? Through this blog, I’ll try to justify the hype. JavaScript is a high-level programming language, meaning it is close to our common English. Traditionally, JavaScript was built for front-end web development along with HTML and CSS to make web pages interactive.

4 Ways You Can Get Rid of Dirty Side Effects for Cleaner Code in JavaScript

4 Ways You Can Get Rid of Dirty Side Effects for Cleaner Code in JavaScript. Bugs are born in many ways. Creating side effects is one of them. Some people say side effects are evil, some say they’re not.

Create GitHub Actions with Node.js - Custom JavaScript GitHub Action Tutorial

Learn how to create a GitHub Action in Node.js with JavaScript. We'll walk through: - Creating and configuring a new GitHub Action - Adding a new Node.js script to a GitHub Action - Compiling a Node.js script with Vercel ncc - Using Actions Toolkit to get inputs and use Octokit - Post a custom message to a new pull request - Add a Gif to a pull request with the Tenor API

Top 5 Tips for Making Your NodeJS code Easier to Read

In this article, we’ll look at 5 tips for making your NodeJS code easier to read and understand. How to Make Your Node.js Code Easier to Read