to thank asstrochris for recommending Groovy.
latest #14
yea? you're getting into it now? pretty good huh?
it is pretty cool.. I'm working on porting (as a test) some of my simulation software into Groovy, mainly my present-tense English parser.
sounds like a fun little project. I am porting over some of my rest services
so far, so good with the porting, btw. From python it is so similar.
the main difference is that I forgot a few java basics which made me pause for a few.
in Python we use "def __init__(self, arguments):" which runs whenever we instantiate a new instance
whereas in Java (& Groovy), I forgot that one just names the method the same as that of the class to accomplish the same.
def _init_? weird. that's what cf is starting to do too. I really like the shorthand for optional arguments which boils down to overloading
what I have a question about is regexes.. I know how to do them in Perl, Ruby, Grep, Sed and Python...
but I have a specific problem in Groovy/Java
I'm iterating through list and want to replace certain characters with left and right space padded versions of themselves. ',' into ' , '
disregard, figured it out.
(Like you'd expect anything less)
back to top