Indent Style - Pico Style

Pico Style

The style used most commonly in the Pico programming language by its designers is different from the aforementioned styles. The lack of return statements and the fact that semicolons are used in Pico as statement separators, instead of terminators, leads to the following syntax:

stuff(n): { x: 3 * n; y: doStuff(x); y + x }

The advantages and disadvantages are similar to those of saving screen real estate with K&R style. One additional advantage is that the beginning and closing braces are consistent in application (both share space with a line of code), as opposed to K&R style where one brace shares space with a line of code and one brace has a line to itself.

Read more about this topic:  Indent Style

Famous quotes containing the word style:

    On the first days, like a piece of music that one will later be mad about, but that one does not yet distinguish, that which I was to love so much in [Bergotte’s] style was not yet clear to me. I could not put down the novel that I was reading, but I thought that I was only interested in the subject, as in the first moments of love when one goes every day to see a woman at some gathering, or some pastime, by the amusements to which one believes to be attracted.
    Marcel Proust (1871–1922)