Bracket
The bracket is a literary process making it possible to insert in a sentence an autonomous element (Mot, proposal, Phrase supplements) which introduces a digression or details the direction of the principal sentence or one of its parts.
In a speech, the word “bracket” can mean that one abstains from (temporarily, in general) taking into account an element of the reasoning: “ We will put between brackets the question of beautiful in Article”
One can also use “brackets” in an illustrated way: “ I decided to put my professional life between brackets.”
It is it should be noted that prints some, the opening brackets must be preceded by a space, and that the closing brackets must be followed by a space; on the other hand, one does not put space after a bracket opening nor before a closing bracket. The brackets cannot be preceded by a comma.
When one needs to include an element between brackets with an element which is itself between brackets, one often uses hooks, but one can also put brackets inside brackets: “(for example (but they are not always (finally not inevitably) happy) like that).” The hooks, the brackets but also the indents can be indifferently used to isolate part of a sentence.
Data-processing languages
The brackets are very much used in the majority of the data-processing languages. As in mathematics, they can be in particular used to define a set of priorities. For example: 1+2*2 gives 5 while (1+2) *2 gives 6 (the Astérisque, “*”, is used here as multiplier).
In the same way, in certain logical expressions, the brackets make it possible to define a set of priorities: IF (has AND (B BUT c)) will not have the same result that IF (has AND B GOLD c).
They can be also used to separate from the proposals, which can make the code more readable. For example IF ((a>1) GOLD (b>a)) can be more readable than IF (a>1 GOLD b>a) although the result of the two expressions is the same one.
Very frequently, the brackets are used to frame the arguments called by a function. Example, in many languages, int (10.05) means to require the whole value of 10.05 (result: 10).
The tables (or lists) are often also represented like a succession of values between brackets.
Many languages impose the use of brackets for tests:
yew (something) {then to carry out such action}
or in iterations:
for (a=0; a<10; a++) {
to carry out such action
}
In certain languages like Design and other languages derived from Lisp, the brackets are used in this manner: (function arguments) , which gives results visually diverting: (display (+ 5 (* 2 5))) means: to post 5 + 2*5 (result: the purpose of 15), indeed, display (Z) Z ; are to post (+ has b) returns the addition of has and of B ; And obviously, (* has b) returns the product of has by B.
Exceptionally, the brackets can be used to frame the comments, for example in the old versions of the PASCAL language: (* this is a comment *) .
In mathematics
The brackets are used to indicate the mixed product. They can also be used to gather the terms in operations, such as for example in commutative algebras. They can also be used in exhibitors when the exponentiation can lend to confusion.
| Random links: | Irrompible (pelÃcula) | Laguiole (knife) | Ferdinand von Ritgen | Amenti | Pierre Hammer | Two lefts don' T make has right… goal three C | Glenwood,_le_Wisconsin |