Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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;


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: