Indenting standards religions K&R, whitesmiths etc
    matheus 
    matheus at gmail.com
       
    Wed May 31 17:09:16 UTC 2023
    
    
  
On Wednesday, 31 May 2023 at 16:24:38 UTC, Cecil Ward wrote:
> ...
> So my question: would I get lynched for the following? (below)
> ...
I don't know nothing about all this but looking your example 
code, I write and I'd prefer to read something like this (Editing 
your own code):
pure nothrow etc T foo(T, T2)(in T param x,in T2 param y)
if (template-qualification-whatever) in {
     static assert(…);
}
out (ret){
     …
     assert(test ret);
}do{
    blah
    if (test) {
       if-body
       …
    }
    back to main block
    …
    …
}
Matheus.
    
    
More information about the Digitalmars-d-learn
mailing list