What is the term(s) used to describe programming language syntax?

Posted by Mr Roys on Stack Overflow See other posts from Stack Overflow or by Mr Roys
Published on 2010-05-14T06:08:30Z Indexed on 2010/05/14 6:14 UTC
Read the original article Hit count: 188

Filed under:

Is there an exact/correct term to describe this difference between the syntax/constructs of programming langauges e.g VB6 with its (if ... else ... endif) and C# with its curly braces for conditional statements.

I'm using VB6 syntax and C# as examples since I'm more familiar with their syntax.

For example, Visual Basic 6's syntax uses a more verbose, natural language like structure.

If (id = 0) Then
    id = MyObject.Add(Me)
Else
    Call MyObject.Update(Me)
End If

while C# has more concise syntax like:

if (id == 0)
{
    id = MyObject.Add(this);
}
else
{
    MyObject.Update(this);
}

Conciseness? Natural languageness? Or is there a more "scientific" word for describing syntax?

© Stack Overflow or respective owner

Related posts about programming-languages