Talk:Bracket

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Perl (Rated C-class, Low-importance)
WikiProject icon

This article is within the scope of WikiProject Perl, a collaborative effort to write Perl programs for using and developing Wikipedia, share scripts, and improve Wikipedia's coverage of the Perl programming language. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.

C-Class article C  This article has been rated as C-Class on the quality scale.
 Low  This article has been rated as Low-importance on the importance scale.
 
WikiProject Typography (Rated C-class, Mid-importance)
WikiProject icon This article is within the scope of WikiProject Typography, a collaborative effort to improve the coverage of articles related to Typography on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
C-Class article C  This article has been rated as C-Class on the quality scale.
 Mid  This article has been rated as Mid-importance on the importance scale.
 


Crystallography[edit]

Crystallography uses these things to denote whether a plane or direction is being discussed, and whether it's generic or specific. I have put up a basic account of their use in Crystallography#Notation, but you may want to wait a few days for it to stabilize before you copy it into this article. This may also convince someone to finally flesh out Miller index.--Joel 06:14 & :18, 16 May 2005 (UTC)

Computer languages[edit]

The discussion on use of brackets in computer languages would be highly misleading to someone who didn't already know about the subject. It should be either (a) more complete, or (b) more obviously nothing more than a random survey of examples. Wording like "... are used to..." makes it sound like these are universal, and especially common, uses of brackets.

In the case of function arguments, this is true. But using parens to bound lists is pretty much restricted to the Lisp family, while many other languages use brackets for the same purpose (and braces for associative arrays). Square brackets are no more ubiquitous in regexps than parens or braces (and similarly for shell patterns). Brackets may not be as common as braces for blocks (the Smalltalk family vs. the C family), but they're not negligible.

And the most common use of parentheses in computer languages is completely ignored--grouping subexpressions: "(2 + 3) * 4", "ASSERT((foo<bar, baz>(qux)))", "(1, 2), 3", the parens around test expressions in C control statements, etc.

Also, some languages use other symbols essentially as brackets, with the same character serving as "left" and "right" (see "| i |" in Smalltalk, similar to "|2|" in math).

And it's a little strange to not even mention how braces are used in CSS, and then use CSS braces as an example a few lines later.

Finally, it's strange that a handful of these uses appear in the general discussion above. For example, under "Types of brackets": "In computer programming, curly brackets sometimes denote the beginning and ending of a sequence of statements or define a scope."
Falcotron 07:02 & :03, 15 June 2006 (UTC)

The "Greater Than" bracket (>) is often used to separate menu choices in describing Windows (and other GUI) commands; e.g.: "File > New" Kortoso (talk) 21:48, 17 September 2014 (UTC)

Usage in chat[edit]

On chatrooms and message boards, actions are put in brackets.

"I know she can't sing, but I like Lindsay Lohan {ducks from flying vegetables}."

There's also the "Insert Item" usage.

"I don't care if [insert nominee here] deserves to be in the hall of fame, I think that Maris should be in."

—Preceding unsigned comment added by 67.188.172.165 (talk) 05:33 & :34, 6 November 2006

Weird signs[edit]

Instead of angle brackets i see some weird signs, so here's a test, ill write both angle brackets, please tell if you see them properly or not: < >

im using ff24, with auto detect ch. encoding (here UTF8) — Preceding unsigned comment added by Slotrooper (talkcontribs) 21:09, 18 September 2013 (UTC)

I see them as normal angle brackets (strictly less-than sign & greater-than sign), as in the article. It sounds as if your browser is displaying something odd. Have you tried a different browser? Do you see these ⟨ ⟩ correctly? See Talk:Bracket/Archive 1#Angle brackets Dbfirs 07:24, 19 September 2013 (UTC)

Split Suggestion[edit]

I would like to suggest splitting this article into each of the different types of brackets and make this a disambiguation page because it is to long. NickGibson3900 (Talk - Cont.) 11:44, 12 July 2014 (UTC)