3 ms·
Thank you. I was looking for this. I don't care if a line needs to be 180 chars if it starts with log.debug. Just like searching, I read my code globally based
by nomercy400 5y ago
Thank you. I was looking for this.
I don't care if a line needs to be 180 chars if it starts with log.debug. Just like searching, I read my code globally based on the first 10-20 chars. If I need details on a line, I'll read the whole line.
I do however put chained methods on new lines, because they are often a new statement.
And I use 4 spaces for indent, because my IDE is smart enough, it is in my programming language guidelines, and that's what my comapny uses.