Another developer quirk of mine (this one is particularly quirky).
If I'm conforming to a protocol, and a function is being intentionally left blank, I'll put the opening and closing brackets on the same line, after the declaration.
struct ConsoleLogger: Logger {
…
func flush() {}
}
This signals that the function has been left blank deliberately, not accidentally.
=> More informations about this toot | View the thread | More toots from mattcomi@hachyderm.io
text/gemini
This content has been proxied by September (ba2dc).