Avatar

Spaces keep indents and alignments universal (Destiny)

by kidtsunami @, Atlanta, GA, Tuesday, December 13, 2016, 14:27 (3144 days ago) @ dogcow

-->|if (output != null)
-->|{
-->|-->|output.append("account_id").append('\t')xxxxxxx// comment about account_id
-->|-->|xxxxxx.append("submission_id").append('\t')xxxx// comment about submission_id
-->|-->|xxxxxx.append("payment_method").append('\t');xx// comment about payment_method
-->|}

You never have to worry about downloading a file and opening it up in an editor and having it looks like awful nonsense. Considering that almost any text editor or IDE one would use for coding allows you to set Tab Space by filetype, workspace, user, or application wide, it can be super consistent.


Though honestly, it's whatever your team decides, I'm a Clean Coder and that's the law I live by.


Complete thread:

 RSS Feed of thread