Basic is an old language, and it still drags some history with it. Much has been cleaned up (such as the removal of "Let" and making "Select" and optional replacement for "Select Case".
However, there is one atavism I still find very unnecessary, and which I think should be made optional. That's the "Then" in "If" statements. Sure, it makes it more like spoken language, but, really, a clean "If" is just as readable, and provides less clutter.
Example:
By putting the condition at the very end of the line, the eye requires less scanning to find it. It would also be more in line with Select and the various loop constructs.
Don't get me wrong, I very much prefer "human language"-like languages to very compact languages, as I find myself spending more time thinking than typing, but in this case, i find that "Then" is just a useless appendix.
However, there is one atavism I still find very unnecessary, and which I think should be made optional. That's the "Then" in "If" statements. Sure, it makes it more like spoken language, but, really, a clean "If" is just as readable, and provides less clutter.
Example:
B4X:
'Traditional
If Success Then
'Do something
End If
'Improved
If Success
'Do something
End If
By putting the condition at the very end of the line, the eye requires less scanning to find it. It would also be more in line with Select and the various loop constructs.
Don't get me wrong, I very much prefer "human language"-like languages to very compact languages, as I find myself spending more time thinking than typing, but in this case, i find that "Then" is just a useless appendix.