Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Which layout style is the best for my code?

best code layout style
0
10 Posted

Which layout style is the best for my code?

0

Such style issues are a matter of personal taste. Often, opinions about code layout are strongly held, but probably consistency matters more than any particular style. Like most people, I’d have a hard time constructing a solid logical argument for my preferences. I personally use what is often called “K&R” style. When you add conventions for constructs not found in C, that becomes what is sometimes called “Stroustrup” style.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.