What is the term(s) used to describe programming language syntax?
- by Mr Roys
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?