News for hackers. Stuff that matters.
Re:Delimiter-first code by tasty_freeze on Friday December 09, 2022 @10:58AM (#33922720)
I write a lot of verilog code, and most of its operators are the same a for C. Your first example doesn't highlight the real benefit of its style because all of your items are the same length. Here is a better example:

    foo = here_is_some_logical_condition ||
          and_another ||
          (this_term && that_term) ||
          exception_case;
vs

    foo =  here_is_some_logical_condition
        || and_another
        || (this_term && that_term)
        || exception_case;

There are no comments on this comment yet.