The VB6 code input window has an excellent "input experience", which allows you to enter the fewest keys. For example: when you enter left-double-quotation mark, the system does not automatically display the second "double quotation mark". The purpose of this is to great benefit.
Take i = len("abc") as an example:
- In twinBasic, after entering i = len(, the system automatically displays i = len()
- After entering double quotes, the system displays i= len("")
- After entering abc, the system displays i=len("abc")
- At this point, we need to press the "right-arrow" keyboard twice to move the cursor to the end of the line, and then press Enter again. This is very cumbersome and confusing. But I know other programming languages are similar to twinBasic.
However, VB6's approach is better, that is, when you enter left-bracket, the system does not automatically display right-bracket, and when you enter left-double quotation-mark, the system does not automatically display the right-double quotation-mark, The purpose of doing so has great advantages:
- When the system does not automatically display the right-bracket and the second double quotation mark, the programmer will instinctively enter the double quotation mark and the right-bracket. without typing "right-arrow" twice
- When you enter sMsg = "Hello World, press the Enter key, the system will automatically complete the second double quotation mark and move the cursor to the next line. However, since twinBasic automatically displays the second double quotation mark, then We cannot press enter directly, we need to move the cursor to the end of the line and press enter again.
In fact, almost no modern code editor's "code input experience" can reach the level of VB6-IDE. Even for vscode, the "code input experience" when entering VB code is far from comparable to VB6. This is why I must develop my own Code-Editor. Hope twinBasic could do better than vscode.