slovodefinícia
kernel style
(foldoc)
K&R style
kernel style

An ugly, obsolete, deprecated source code {indent
style} that looks like this:

if (cond) {

}

The basic indent is eight spaces (or one tab) per level; less
commonly four.

It is named after Kernighan & Ritchie because the examples in
K&R are formatted this way. It is also called "kernel style"
(because the Unix kernel was written in it) or {Egyptian
brackets}.

This style was popular when programmers worked on small displays,
or when printing code on paper, becuase it saves vertical space.
It should be avoided because the opening brace is easy to miss at
the end of a long condition in an "if" or "while" statement and it
makes it hard to pair up braces.

(2014-09-28)
podobné slovodefinícia

Nenašli ste slovo čo ste hľadali ? Doplňte ho do slovníka.

na vytvorenie tejto webstránky bol pužitý dictd server s dátami z sk-spell.sk.cx a z iných voľne dostupných dictd databáz. Ak máte klienta na dictd protokol (napríklad kdict), použite zdroj slovnik.iz.sk a port 2628.

online slovník, sk-spell - slovníkové dáta, IZ Bratislava, Malé Karpaty - turistika, Michal Páleník, správy, údaje o okresoch V4