On Jul 14, 1:28 am, Dibyendu Majumdar <[email protected]> wrote:
> On Jul 13, 1:00 am, Kevin Wright <[email protected]> wrote:
>
> > I think you'll find that Scala has already beaten you to it!
>
> > As a language, it already supports many of your requested features, or the
> > ability to implement them via an internal DSL.
>
> Hi,
> I had a quick look at Scala. Unfortunately it is not what I am after:
> I want a small language, that is even simpler than Java. Scala is a
> big language with lots of features that I don't need.

(Disclaimer: I am just a language user and not a language geek.)

I always thought a language simpler than Java in general would be be
more powerful too. Here's my list of ideas:

1. Data should be immutable by default. I like Clojure's
implementation of immutability and atom/ref (STM). Clojure's transient
are useful too.
2. Implementation inheritance should be disabled. No abstract classes
either. :)
3. Inter-operable and binary compatible with Java. Should be able to
call Java code. There should be a mechanism to call from Java.
4. Syntactic sugar for defining and implementing Thin-interfaces
(interface with just one method signature) - then it looks like a
closure.
5. Checked exceptions should be regarded like unchecked ones.
6. No "static" blocks of code.
7. No "synchronized" keyword. Language should have better concurrency
primitives. Queues / message passing (actor/agent model?) may be
favored.
8. Should not introduce monkey-patching. But anything like Lisp macros
would be great.
9. [Optional feature] Regular expressions at a language level.
10. [Optional feature] Conditions and restarts as in Common Lisp:
http://www.gigamonkeys.com/book/beyond-exception-handling-conditions-and-restarts.html

Not sure how much of these lies in the scope of what is being
discussed..just my 2 cents.

Regards,
Shantanu

-- 
You received this message because you are subscribed to the Google Groups "JVM 
Languages" 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/jvm-languages?hl=en.

Reply via email to