K
K
kir_steyn2015-10-11 20:58:37
C++ / C#
kir_steyn, 2015-10-11 20:58:37

Is there a generally accepted Code Style for C?

Tell me, what are the generally accepted style-guides?
For example, Python has PEP8, is there something like this for C?
PS Who can tell if there is a translation into Russian of the C89 standard (it is also called ANSI C) somewhere?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
OnYourLips, 2015-10-11
@kir_steyn

No. Each project has its own guide.
The language has a very undeveloped and immature ecosystem and lacks many things that are required in other ecosystems, for example, there is not even a dependency manager.

A
abcd0x00, 2015-10-12
@abcd0x00

is there something like this for C?

Take a K&R2 book and the style that is used there. When you see "set K&R style" in editors, this will be it.
You can read this guy at
stolyarov.info/books/codestyle
but he doesn't really fumble.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question