Hexlet's blog

Write your story
Anatomy of Hexlet groups: understanding formats and making learning more effe... main picture

All of our students come to Hexlet with a certain amount of educational experience, at least at school or university. This experience forms not only the idea of what the learning process should look like but also their very attitude toward learning. Unfortunately, sometimes this experience acts as a kind of "brake" on development - formed habits and attitudes often prevent people from seeing alternatives. In this article, we'll take a look at a few common student attitudes about learning and try to see how true they are.

Learning Traps main picture

During learning, there will be times when your expectations do not match reality, and you don't see the desired result. There can be many reasons, but among them are those associated with cognitive distortions. This is the type we're going to talk about.

Complex and simple programming tasks main picture

Each of us has our own ideas about how learning should be. They are based on our past experiences, other people's stories, and certain ideals.

These perceptions often differ from how the process of becoming a good developer actually works. The student may feel that they are being taught incorrectly or burdened with unnecessary knowledge. Everyone's had an experience like this at school or university. Hexlet is no different. In this article, I will explain some theoretical basics of the learning process and give you a different perspective on what is going on around you. This will help you to improve your learning and cope with difficulties more easily.

How to Read Professional Literature More Effectively main picture

Reading is important. However, the process of reading matters just as much. On the one hand, one doesn't want to miss useful information, on the other, trying to understand and comprehend every word stretches this process to infinity. Next, I will share my way of reading. Most likely, it’s not for everyone, but, as a practice has shown, many people like it.

Code Complete: Naming Mistakes to Avoid in Programming I main picture

Below are the most common mistakes programmers make when naming variables and functions in their code. These examples are taken from the projects of Hexlet students. I use JavaScript for demonstration purposes only because it is the most universal language, so the examples have nothing to do with the language being used. These mistakes are found everywhere in equal proportions.

Code Complete: Naming in Programming main picture

What is the most difficult part of being a programmer? Naming variables.

This joke seems to be popular for a reason among programmers. Naming often causes a lot of struggle. And indeed, how we name our entities (functions/variables/constants/classes/modules) is of great significance, because most of the time we read code, not write.


It is very easy to make mistakes when you have to handle variables, change them, keep track, etc. Especially in a loop. A great way to understand what's going on is to use the simplest debugging technique — console.log. This function prints onto the screen whatever you pass to it.

I have a function that iteratively calculates the factorial. The idea is simple: multiply numbers from 1 up to n.

User avatar R. D.
R. D.
19 January 2017
Suggested learning programs

From zero to a developer. Refunds in case you won't get a job

Frontend Developer icon
Development of front-end components for web applications
start anytime 10 months