It's annoying (not that much, but enough to raise the question) to have to write this:
Is there no shortened nomenclature that the compiler would accept? As I've noted before I like short code and I don't like line continuations. I'd rather have optional shortcut nomenclature - such as this:
where, the _b says all arguments are ByVal unless otherwise stated.
Is there any prior history on something like this? The compiler would have to be compatible with Windows API syntax, but could be a buffer for the user. I'd rather think than type, and for sure, I'd rather view than scroll.
And yes, I understand there's the issue of being able to read the code later on, or for others to maintain the code, but still - that's why it would be optional. Let the programmer decide. For that matter, there could be an IDE "Expand" function, which expands the code to the more conventional syntax before archiving it.
Code:
Function WinMain (ByVal hInst As Dword, ByVal hPrevInstance As Dword, ByVal lpCmdLine As Asciiz PTR, ByVal iCmdShow As Long) As Long
Code:
Fn WinMain(hInst DW,hPrev DW,Line A_P,Show L) Long_v
Is there any prior history on something like this? The compiler would have to be compatible with Windows API syntax, but could be a buffer for the user. I'd rather think than type, and for sure, I'd rather view than scroll.
And yes, I understand there's the issue of being able to read the code later on, or for others to maintain the code, but still - that's why it would be optional. Let the programmer decide. For that matter, there could be an IDE "Expand" function, which expands the code to the more conventional syntax before archiving it.
Comment