Best of General Programming — July 2021
- 1
- 2
RUBYLAND·5y
How to have a productive programming day
productivity is not about ‘hustling’, it’s simply about not being wasteful with my time. Here are some high-level productivity tips I’ve learned over the years. Get up early and go to bed early. When possible, exercise before work. Don’t eat too much.
- 3
Hacker Noon·5y
The Clean Code Book for Javascript Developers: A Quick Summary
This blog post summarizes the book ‘Clean Code’ written by Robert Martin on how to write a readable and maintainable code. We’ll use Javascript to illustrate those rules and best practices. The most important rule for functions is that they should be small.
- 4
Hashnode·5y
The best VS Code extensions to supercharge Git (yes, there’s more than GitLens!)
Git Graph is the most visually appealing way to interact with Git in VS Code. Git Automator allows you to add and commit files with a shortcut. Git Urgent lets you git add all, commit and push with one command. Git Tree Compare compares your working tree against a branch, a tag or commit.
- 5
JavaScript in Plain English·5y
Node.js Best Practices for Beginners and Experts Alike
Node.js Best Practices for Beginners and Experts Alike. Rencybeth shares some useful Node.JS best practices to help all kinds of developers to create an efficient and most sustainable application. To write code for cross-platforms, but Linux, you should meet the exact requirement statements.
- 6
- 7
Faun·5y
SOLID Software Design
SOLID is an acronym for five computer programming principles intended to make software designs more maintainable and avoid refactoring and code rot. SOLID stands for: S: Single-responsibility principle O: Open–closed principle L: Liskov substitution principle I: Interface segregation principle D: Dependency inversion principle.
- 8
Hashnode·5y
Why software engineers choose Linux over Windows for programming
Most software engineers choose Linux over Windows for programming. I was a big fan of Windows OS, and have been using it for years. Since I started programming I found that a Linux distro (such as Ubuntu, Manjaro, and Arch) is the best Operating System to start with.
- 9
DEV·5y
14 VS Code Shortcuts to Supercharge Your Productivity
Software engineers tend to be extremely efficient beings. Our goal is to optimize everything, not just the code. We don't want to spend 10 seconds looking for something on the GUI. Why would we, when we can do it in 0,1s by using the powerful keyboard shortcuts? Let me share with you the shortcuts I use every day. I bet you don't know many of them!
- 10
Hacker News·5y
How To Learn Stuff Quickly
There are two categories of learning: guided and unguided. If you only follow guided resources, you'll wind up in tutorial hell. Mixing unguided learning into guided resources can help you learn more effectively. The tutorial fade is useful because it forces you to pay attention and build the thing over and over.
- 11
80 LEVEL·5y
GitHub's New AI Tool Can Help You to Write Your Code
CNN.com will feature iReporter photos in a weekly Travel Snapshots gallery. Please submit your best shots of the U.S. for next week. Visit CNN.com/Travel next Wednesday for a new gallery of snapshots from around the world. We'll feature the best shots from across the globe in next week's gallery.
- 12
ITNEXT·5y
Golang and clean architecture
Golang and clean architecture. Reshef Sharvit reviews and deploy a golang application that follows the clean architecture principles. Source code can be found here.Update: 3.7.2021: Removed OpenAPI client generation because it didn’t help much. Created request-response model instead.
- 13
gitconnected·5y
6 Step Approach To Transition From Junior Developer To Senior Developer
It's more than just the number of years of experience that matters, says Amrit Pal Singh. The transition from a Junior Developer to a Senior Developer does not happen overnight, it’s a process that takes time. In order to make yourself worthy of a Senior developer title, you should develop the following skills.
- 14
Product Hunt·5y
Serendipity - A lovely VS Code theme for retina displays, dark & light
Serendipity comes with dark and light themes, meticulously created to work on retina screens. Serendipities are available in black and white, black and grey, and white and black. The app is available now for iOS, Android and Blackberry devices.
- 15
Product Hunt·5y
Memo - Open-source tool to help you study software development
Memo is a open source app that uses a memory card-based approach to help you practice the subjects of interest to you in programming. We have a unique set of collections ranging from the most basic to the most advanced programming topics. Embed Collect is a free, open-source app.
- 16
Hashnode·5y
JavaScript Tips, Ticks, and Best Practices
Using Numeric Separators is one of the most used operators when I have to deal with large numbers. Always use semi-colons for line termination. Use splice instead of using delete to remove an item from an array. Using delete will remove the object, but will not reindex the array or update its length.
- 17
- 18
DEV·5y
5 Visual Studio Code Hacks That You Will Thank Me For (And They're Not Common Points Like "Install Prettier Extension")
Some VS Code hacks which I don't usually see being shared around. Open Files Automatically In A New Tab. Change Color of Comments in VS Code. Generate Custom Snippet. Zooming out by pressing ctrl + '-' or '+' to get a larger view of files.
- 19
Hashnode·5y
Utilise JSDoc comment tags so that VSCode intellisense works great!
Intellisense in VS Code only works if it understands the type of your code. Without proper intellisensing, we often make typos, call the method which doesn't exist or even try to access the properties of an objects by a random guess. To handle such and more complex scenarios, we will use JSDoc's @param , @type and @typedef block tags.
- 20
Product Hunt·5y
Blockman - Highlight nested code blocks
VSCode extension - Blockman. You can customize block colors, depth, turn on-off focus, curly/square/round brackets, and more.Supports Python, Dart, Rust, Swift, R, Go, PHP, JavaScript, JSX, TypeScript, TSX, C, C#, C++, Java, HTML, CSS and more...
- 21
The New Stack·5y
GitHub Copilot: A Powerful, Controversial Autocomplete for Developers – The New Stack
GitHub's Copilot is an AI-based programming companion for developers. It draws context from the code you’re working on, suggesting whole lines or entire functions. As it is machine learning-based, it learns as you use it. The technology is now in technical preview and, so far, is getting great reviews.
- 22
DEV·5y
JavaScript Hoisting
JavaScript hoisting refers to the process where the compiler allocates memory for variable and function declarations prior to execution of code [1]. That means that declarations are moved to the top of their scope before code execution regardless of whether its scope is global or local. The code snippets below show hoisting in action: declare the function first and use/invoke it after.
- 23
Bits and Pieces·5y
How GitHub Copilot will Change Developers Life
GitHub Copilot is a next-generation, AI-powered pair programmer that allows you to write code faster while avoiding common mistakes. It is currently available as a Visual Studio Code extension and works wherever the VS Code works. The suggestions given by the GitHub Copilot are backed by billions of lines of code that users have publicly contributed to GitHub.
- 24
LogRocket·5y
Understanding JavaScript decorators
Decorating is simply wrapping one piece of code with another, thereby decorating it. A decorator (also known as a decorator function) can additionally refer to the design pattern that wraps a function with another function to extend its functionality. The concept of decorators is not new in JavaScript because higher-order functions are a form of function decorators. The TC39 class decorator proposal aims to solve this problem.
- 25
gitconnected·5y
A Beginner’s Guide Into Competitive Programming
Competitive programming tests your Logical thinking, Analytical Thinking, Pattern Recognition, Pressure Handling, and most importantly your knowledge of Data Structures and Algorithms. It is an excellent mental exercise and boosts problem-solving skills. The adrenaline rush you experience when your code gets accepted is just amazing.