It should be really easy to perform operations over collections. For-each loops are a good start, but I'm looking for things along the lines of map and filter.
Typically, that would require first-order functions -- which would be nice to have in their own right.
I would like a concept of an unknown. This would be like a variable that represents multiple states. Constraints and conditional constraints could be used to narrow the possible states.
Wow, there's a conversation stopper. Thanks for raining on our parade, Mike! ;)
Anyway, back to imagination land -- we need Lazy evaluation! and static typing! and H-M inference to make the type annotations optional! and generics! with multiple dispatch! and currying!
12 comments:
Okay then, I'll start:
Everything is an object. No primitives.
Concerning Types:
A 'Set' type is available with common set theory functions.
Concerning function parameters:
All function parameters are immutable by default unless explicitly stated otherwise.
It should be really easy to perform operations over collections. For-each loops are a good start, but I'm looking for things along the lines of map and filter.
Typically, that would require first-order functions -- which would be nice to have in their own right.
Concerning objects and functions:
Even functions are objects.
I especially agree with your last requirement: even functions are objects. Including anonymous functions (colsures).
Hmmm... built in support for metaprogramming and design by contract would be a must.
Also the ability to add methods/attributes to an object instance dynamically is VERY useful
Oh yeah... I'm especially fond of languages that also let you override/define operators. I like the way scala does this, like this example on my blog:
http://blog.james-carr.org/2008/01/12/my-geek-new-years-resolutions/
I would like a concept of an unknown. This would be like a variable that represents multiple states. Constraints and conditional constraints could be used to narrow the possible states.
Industry backing by more than one successful company
Lots of great books
Industry backing by more than one well respected guru
Wow, there's a conversation stopper. Thanks for raining on our parade, Mike! ;)
Anyway, back to imagination land -- we need Lazy evaluation! and static typing! and H-M inference to make the type annotations optional! and generics! with multiple dispatch! and currying!
And a Pony!!!
This is Easy! As a Java boy...
I want easy date manipulation. Think JodaTime, not Java Dates...maybe i'm the only one who thinks that most date processing is pathetic....
Post a Comment