I know this is probably a tall order, but i feel it would make things so much less verbose.
If you've ever used LINQ, the syntax is something like this
Dim Stuff() as SomeObjectType = from x in SomeList Where x.contains("123") order by x.SomeProperty
Basically like in-line sql queries.
To do the equivalent right now it would take a few loops, if statements, etc... and it's not as nice and clear as the example above.
Now I know that java itself doesn't natively support this, but we are *converting* to java aren't we?
so at least some basic functions could be implemented in the syntax like the where and sort clauses, giving us a list or array in return.
Perhaps:
Dim Stuff() as MyClass
Stuff = SomeNewBaFunction(YourOriginalListOfStuff() as object, WhereClause as string)
Dim Stuff2() as MyClass
Stuff = SomeNewBaFunction2(YourOriginalListOfStuff() as object, WhereClause as string,OrderBy as string)
Might work
I'm just paying attention to the things I seem to be coding repeatedly to do pretty much anything.
The other thing we can perhaps do is related to strings to write less code is allow in-line values where b4A takes care of all the &'s and "" around text when used like this:
Dim Value1 as string = "SomeValue"
Dim Value2 as string = "SomeOtherValue"
Dim FinalString = "The first <%= Value1 %> does not equal: <%= Value2 %>"