4 ms·
I know nothing about C#, but I keep hearing announements of Groovy-like features in C#, and to me, Groovy is what Java should be (but with better performance).
by mcv 13y ago
I know nothing about C#, but I keep hearing announements of Groovy-like features in C#, and to me, Groovy is what Java should be (but with better performance). If C# is really like Groovy with better performance, then it should be a very nice language indeed.
- teh_klev 13y agoI've tinkered with Groovy (writing custom event handlers etc for Jira). If I was going to spend any serious time writing stuff to run on the JVM then Groovy would probably be my choice. C# has been my primary development language since 2002. Fell out of love with it for a while until LINQ and then dynamics appeared. Oddly, this week I am writing nagios plugin code in Perl, which I am getting a weird kick out of, I haven't used Perl in anger since 1999.
- kbenson 13y agoA few tips for the infrequent Perler: If you have a more recent Perl available, use it and it's newer features (use 5.014; at least, hopefully). It's a small thing, but being able to call keys/values/shift/unshift/push/pop on the reference versions of their subject is very nice. There's useful new features in every new version now. Additionally, Function::Parameters (or some other module that does similar, take your pick) will make your life much, much simpler if you tend to write a lot of subs. Use Moose (or at least Moo or Mouse, if you want it lighter weight) if you are using objects. Enjoy!
- vorg 13y ago> I keep hearing announements of Groovy-like features in C# I'm pretty sure the builders of C# didn't think about Groovy at all when putting in features such as closures and dynamics. Correlation doesn't imply causation.
- pjmlp 13y agoWhat features? Many of those trace back to Smalltalk and Lisp with some Eiffel as well.
- mcv 13y agoWell, those features. Groovy was probably one of the first to bring those to a C-type language (though you could argue whether it's still a C-type language with those features), but I'm glad to see them in more languages.