Howdy partner!
Today I would like to share some tips about how to learn, use, and improve programming skills.

helpful-tips

Before we start, let’s discuss a little bit about why I decided to write this specific article and share my experience. Many times during my professional path I had a situation where I needed verify quickly, understand or implement a concept, piece of code, simple function, class method, compare results between two solutions, etc. And every time it was a pain.
For example, each programming language requires a special environment, IDE, and many other things. But I don’t want to spend my time dealing with all these things. I needed one solution for everything, and it should have been fast, robust, and useful.
This is the reason why I came up with an idea to use Jupyter Notebook then Jupyter Lab as a platform for my virtual laboratory.

Jupyter Lab can execute code (e.g. Python, Java, etc.) in a browser and returns results to the user immediately. It’s possible because Jupyter supports kernels for many programming languages.

Let’s see what we get after installing and configuring Jupyter Lab, kernels for Python, Java, JavaScript, and Julia programming languages (even SQL!). We can easily open a new notebook or a terminal, start to writing code, and immediately get results.

Start Jupyter Lab:

alt text

Execute simple code for Python:

alt text

Execute simple code for JavaScript:

alt text

Execute simple code for Java:

alt text

This approach is easy and fast (per my humble opinion). Would you agree with me?
Yes, I understand you need to spend some time installing and configuring everything, but in the end, you will get your own virtual laboratory for experiments and what is more exciting is that you can easily share your experiments with other people.

How to share code (as html):

alt text

I hope this knowledge will open a new horizon for you.

Thanks for reading and don’t stop learning and trying new things!

Feel free to reach me via email, LinkedIn.

P/S: One more sample how to check code (or concept):

alt text

Technology stack and documentation:
Jupyter lab
Jupyter kernels
Python
Java
JavaScript
Julia
SQL