4 ms·
if( ! fits) Why this (constently) terrible formatting though? Never seen anyone using this style.
by mojuba 7y ago
if( ! fits)
Why this (constently) terrible formatting though? Never seen anyone using this style.
- petee 7y agoGotta say, without seeing it in context, it's flat-out clear what it means and non ambiguous
- mojuba 7y agoSure, but it's anti-mathematical let's say :) Left and right brackets should have symmetrical formatting. Never seen a style with such asymmetry, it's pretty odd.
- deleted 7y ago[deleted]
- inetknght 7y agoAhh you ought to see my style. I've been told it's unique and quite ugly. Linters tend to very much dislike it. Nonetheless my style has a purpose to me and I'm sure so does the author's.
- mojuba 7y agoI think glueing punctuation to the previous word but always having a space before the next one makes the words more readable. Probbaly makes sense although you always need research to back up such claims. For example there's research that says snake_case is more readable than camelCase (and yet most languages encourage camelCase for some reason)
- rootlocus 7y agoThat's perfectly fine if you're working alone.