Top "Parentheses" questions

The symbols "(" and ")", commonly used in programming languages.

VSCode add parentheses when automcompleting functions

Is is possible to tweak VSCode so that when function gets autocompleted it is written with () instead of just plain …

function autocomplete visual-studio-code parentheses
Why was the statement (j++); forbidden?

The following code is wrong (see it on ideone): public class Test { public static void Main() { int j = 5; (j++); // if …

c# syntax expression language-design parentheses
Jump over end parenthesis/bracket/quotation in atom editor with TAB

In atom editor, when I type console.log( for example, it becomes console.log() and the cursor stays between the …

tabs parentheses atom-editor
Parenthesis in variables inside IF blocks

In one of my scripts, I need to use variables that contain parenthesis inside IF statements, but either the string …

batch-file parentheses
Parentheses and quotation marks in output

Sometimes when I use the print function, parentheses and quotation marks appear in the output. I'm using Python 3.4 and writing …

python printing output parentheses quotation-marks
How to remove all text between the outer parentheses in a string?

When I have a string like this: s1 = 'stuff(remove_me)' I can easily remove the parentheses and the …

python regex parentheses
How to stop Eclipse from auto-adding parentheses?

If I for example type "Integer." and then hit CTRL+SPACE, and now choose "valueOf" from the list, Eclipse always …

eclipse parentheses
Parenthesizing a string so that expression takes a given value

The following problem is from the chapter on Dynamic Programming by Vazirani et. al. [6.6]Let us define a multiplication operation(×) …

algorithm dynamic-programming parentheses boolean-expression
Python: What do double parenthesis do?

Can anyone tell me why the parenthesis are doubled here? self.__items.append((module, item))

python syntax parentheses
Why import statements with parentheses?

Lately have seen imports like this from module import (function, another_function, another_function) Seemingly this has been done to …

python import parentheses