S
S
sorry_i_noob2018-03-01 20:46:45
JavaScript
sorry_i_noob, 2018-03-01 20:46:45

Is there a way to name JS functions like CSS - BEM? All JS functions are written in one file. And when there are a lot of them, it becomes difficult to understand. How to be?

I want to make the code more readable and understandable. I would like to find something like BEM for CSS, only for Javascript.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Insolation, 2018-03-01
@Insolation

Read code styles from top companies ( Airbn , Google )

S
SagePtr, 2018-03-01
@SagePtr

Do not shove everything into one file, but use modules

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question