There are many ways to become more productive as a developer. Here are all the ways to increase efficiency while coding.

Use Ubuntu

Definitely better than using windows.

Learn your shortcut keys

There are so many places where you can use shortcut keys: in your operating system, in your IDE, in your bash programs, in vi, vim, or nano… Possibilities to use shortcut keys are endless.

Code snippets

Code snippets are a great way to speed up code writing. While some IDEs, such as Visual Studio, come with code completion tools such as Intellisense, some other IDEs require some setup. Still, the time you’d invest in setting things up surely pays off.

Emmet

If you’re writing HTML, CSS, or JavaScript, you could cetainly use Emmet to write code faster.

For example, in Emmet, writing just an exclamation mark, the !, followed up by the tab key press, will result in the following “code expansion”:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
</html>

An entire boilerplate HTML page, in just two keystrokes! Pretty amazing. The best part: in newer versions on VS Code, Emmet is bundled with the installation itself: no additional setup needed!

Reload .bashrc without turning off the terminal

Let’s say you’ve made some changes to your Ubuntu - for example, you’ve updated an alias command in .bashrc file, and now you want to start using it.

However, the old behavior is still cached in your terminal program. You might decide to close and reopen your terminal, so that it picks up the changes you’ve just made. However, sometimes this is not an option, so why not try to simply reload .bashrc, like this:

source ~/.bashrc

Alternatively:

. ~/.bashrc

You can also turn it into an alias:

alias rehash='source ~/.bashrc'

There you have it!

To be continued…