3 ms·
This is what is wrong with 'best practices' `SELECT foo, bar FROM baz` Is not at all more legible than: `SELECT foo, bar FROM baz` On first glance I
by mosselman 10y ago
This is what is wrong with 'best practices'
`SELECT foo,
bar
FROM baz`
Is not at all more legible than:
`SELECT foo, bar FROM baz`
On first glance I even missed the 'bar' column completely and just saw it when compressing this line.
As things get longer it gets more important to make it legible, but saying that my first example is better than the second is just nonsense.
Don't worry so much about what you should or should not do, just use common sense.
- mosselman 10y agoHaha woops, multiline did not work. The first example is supposed to read: SELECT foo, bar FROM baz