The symbols ( ) are read as 'parentheses' (singular 'parenthesis'), often shortened to 'parens', or in British English 'round brackets'. A single one is an 'open paren' or 'close paren'. They wrap function arguments and grouping, as in 'call the function with empty parens'. 'Parens' is the most common casual term among developers worldwide. Avoid calling them 'brackets' without qualification, since that word alone is ambiguous. Say 'open paren' and 'close paren' to make clear which side you mean when reading code aloud.
2 / 5
What are "[]" called when read aloud?
The symbols [ ] are 'square brackets', or simply 'brackets' in American usage. They are used for array indexing and list literals, as in 'access the third element with square brackets'. When you need precision, say 'open bracket' and 'close bracket'. In British English 'brackets' alone usually means '( )', so 'square brackets' avoids confusion across audiences. Reading 'arr[0]' aloud you would say 'arr, open square bracket, zero, close square bracket', or more casually 'arr sub zero'.
3 / 5
How do you read "{}" aloud?
The symbols { } are 'curly braces', often just 'braces', or 'curly brackets' in British English. They define code blocks, object literals, and sets, as in 'wrap the block in curly braces'. Say 'open brace' and 'close brace' for clarity. In JSON and many languages they are everywhere, so 'curlies' is a common informal shortcut. Reading '{ }' you might say 'open curly, close curly'. The word 'braces' alone is usually understood, but adding 'curly' removes any doubt.
4 / 5
What are "<>" called when reading code?
The symbols < > are 'angle brackets'. They appear in HTML and XML tags, in generics like 'List<String>', and in comparisons. Say 'open angle bracket' (or 'less-than') and 'close angle bracket' (or 'greater-than') depending on context. In type generics, 'List of String' or 'List angle-bracket String' both work. When the symbols mean comparison operators rather than grouping, read them as 'less than' and 'greater than'. Choosing the right name depends on whether they are wrapping something or comparing values.
5 / 5
Which reading of "foo()" is most natural?
You would read foo() as 'foo, open paren, close paren', or more idiomatically 'foo with empty parens' or simply 'call foo'. The parentheses signal a function call with no arguments. The key is recognising '( )' as parentheses, not square brackets or braces. In speech, experienced developers often skip the symbol names entirely and say 'call foo', but when dictating exact code you should name each bracket clearly to avoid ambiguity for the listener.