K&R (non-ANSI) declarations
- Advantages: none
- Disadvantages: Unneeded and excess typing that can lead to mistakes. Violates the DRY principle.
ANSI declarations
- Advantages: Don’t need to type as much. All the port information is in one location.
- Disadvantages: None.
Fortunately for C, K&R style didn’t make it into the standard. Unfortunately for Verilog, it did make it into the standard, and folks still use it today.