R
R
roxkisrover2015-09-16 15:51:38
IDE
roxkisrover, 2015-09-16 15:51:38

Why do some IDEs have a visual line length limiter?

What is the practical meaning of having a visual line length limiter in some IDEs and code editors (thin vertical line)? Usually it is somewhere in the region of 80 to 120 characters.
For example, this is in WebStorm and Cloud9. Surely it occurs in other IDEs, I haven't checked.
Should I pay attention to it when developing with HTML/CSS/JS?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Kovalsky, 2015-09-16
@dmitryKovalskiy

This limiter is to remind the developer that he wrote very long. Maybe you really shouldn't write in one line

asd.(new asd(){s = new dghjhgdf()..... }) и т.д. и  т.п.

Writing tuples of 20 operations in Jquery is also not always cool.
Also, do not forget that when debugging, the debugger will show an error in a specific line, and if there are a dozen nested instructions, it will not be easy to clearly tell in which one the exception occurred.

M
mamkaololosha, 2015-09-16
@mamkaololosha

On punched card storage systems, one line was written to one punched card, so the line was of a given length, according to the number of columns (usually 80). Lines shorter were achieved with spaces, and lines longer were cut off. There was no line separator, and an implicit newline was assumed every 80 characters. Some early mainframe operating systems adopted this to store text in files where there was no longer a natural limit on line length. IBM began to force it hard

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question