yuck.
stuff like code folding and automagical code generation encourage all the wrong habits. Simple, readable, and reused code is "tight".
stuff like code folding and automagical code generation encourage all the wrong habits. Simple, readable, and reused code is "tight".
You can have short code by using single-letter variable names and avoiding whitespace. It doesn't gain you anything. But concise code says exactly what it needs to say and no more, and that can be much more readable than lots of boilerplate.
I do exactly the opposite, where each bracket gets its own line, never going on the same line as code. This helps create an excellent visual division of blocks on the page.