Why is it java code indented as BSD KNF Style and C C++ code indented as Allman or BSD style?
- by Caffeine
I do understand that coding convention is a matter of preference, and that different coding conventions have different subtle advantages or shortcomings, and depending on what one wants, one should choose his/her style. But why is usually Java written where the opening brace is on the same line as the function definition of control statement, and…