eelinow wants
16 years ago
to thank asstrochris for recommending Groovy.
latest #14
Muddy Tones says
16 years ago
yea? you're getting into it now? pretty good huh?
eelinow says
16 years ago
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.
Muddy Tones says
16 years ago
sounds like a fun little project. I am porting over some of my rest services
立即下載
eelinow says
16 years ago
so far, so good with the porting, btw. From python it is so similar.
eelinow says
16 years ago
the main difference is that I forgot a few java basics which made me pause for a few.
eelinow says
16 years ago
in Python we use "def __init__(self, arguments):" which runs whenever we instantiate a new instance
eelinow says
16 years ago
whereas in Java (& Groovy), I forgot that one just names the method the same as that of the class to accomplish the same.
Muddy Tones says
16 years ago
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
eelinow says
16 years ago
what I have a question about is regexes.. I know how to do them in Perl, Ruby, Grep, Sed and Python...
eelinow says
16 years ago
but I have a specific problem in Groovy/Java
eelinow says
16 years ago
I'm iterating through list and want to replace certain characters with left and right space padded versions of themselves. ',' into ' , '
eelinow says
16 years ago
ideas?
eelinow says
16 years ago
disregard, figured it out.
eelinow says
16 years ago
(Like you'd expect anything less)
back to top