Looks like someone looked at C# and Scala, then did a bit of cherry-picking. Problem is, they lost much of the deeper elegance in Scala by doing so:
- It's still badly object oriented, so both primitives and static methods remain - No unified namespace for methods and values, so get/set properties have to be kept, though the syntax is slightly less verbose than Java's - Pattern Matching, please? - delegates AND function objects... wtf? - variable names pushed off the right-hand edge of the screen by a long type declaration - mutability by default - use of setters actively encouraged (even at initialisation time) - use-site variance, *sigh* - null handling, I'm trying to imagine the ?? syntax used for a chain of 5 method calls (a.b.c.d.e) when any of them could be null, yuk! - preprocessor macros... This is the best one! Scala only suffers binary compatibility issues between different releases, a problem being actively worked on. With preprocessor macros, Stab can actually outdo this feature and is able to offer binary incompatibilities within the *same* binary release! "Stab" is what I do to a cake, with a skewer, to see if it's fully baked yet. Perhaps the name is appropriate... On 24 July 2010 22:27, RogerV <[email protected]> wrote: > Now here's a language the cuts the Gordian Knot of the myriad Java > language problems by implementing a C# like language to run on the JVM > - doing so in an entirely Java compatible and inter-operable manner. > The acid test: You could easily write a library and its API in Stab, > enjoy using the full feature set of the Stab language to do so, and > yet devise the library's API to be entirely natural to any Java > programmer - even to the point of sprinkling in checked exceptions (if > necessary) via Stab annotations. > > The only question is why wasn't this approach taken years ago? We > wouldn't all be waiting around for Java 7, we'd be busy writing > enterprise code in Stab. > > Despite Groovy and Scala, perhaps there's still a chance for Stab. > Stab is a compile time static type language but gets rid of a lot of > boilerplate issues. Many folks just want a Java-like language but > without the warts and some language syntax and feature modernization > here and there. C# language has been evolving relative to Java's > stagnation, and Stab brings the essence of C# to the JVM. > > Stab programming language for the JVM > http://code.google.com/p/stab-language/ > > The goals used to design Stab were as follows: > > The syntax should be readable without difficulties by Java/C# > programmers > The execution of a Stab program should be as efficient as the > execution of the same program written in Java > The generated bytecode should be usable transparently from Java > The Java libraries should be usable from Stab programs without > adaptations > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<javaposse%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > > -- Kevin Wright mail/google talk: [email protected] wave: [email protected] skype: kev.lee.wright twitter: @thecoda -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
