News for hackers. Stuff that matters.
Re:Quake 3 engine in Rust by ShardPhoenix on Saturday April 13, 2013 @12:20AM (#5542521)
Having it externally can be an advantage in that it doesn't matter if you have an extraneous space when you type the code in because it will be cleaned up by the formatter, whereas making it part of the language makes that an error (and possible quite a confusing one).
Re:Quake 3 engine in Rust by spc476 on Saturday April 13, 2013 @05:20PM (#5544720)
It leaves space (pun intended) for bike shedding, or for inadvertently checking in code that voilates the coding standards. If you really want One True Format, then make it part of the language spec.
Re:Quake 3 engine in Rust by mheathr on Sunday April 14, 2013 @02:13AM (#5546092)
If a tool exists to format the code, it is of no consequence that a check in violates the formatting, as when that code is actually viewed it can (and should be) passed through that tool ahead of time such that the check in which violates the formatting guide lines is never actually viewed as such.