tag:blogger.com,1999:blog-6157078554344857271.post3844921040836121661..comments2022-04-03T14:05:30.218+02:00Comments on Joe's Groovy-Blog: ... And miles to go before I sleep.Joachim Baumannhttp://www.blogger.com/profile/13220655778738514991noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-6157078554344857271.post-87853325937220000802008-12-11T03:19:00.000+01:002008-12-11T03:19:00.000+01:00Great post. Using categories is a great way to in...Great post. Using categories is a great way to increase a Grooy DSLs fluency.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6157078554344857271.post-26182964659751746212008-04-04T19:14:00.000+02:002008-04-04T19:14:00.000+02:00yes the separation work. Now, il will be happy if ...yes the separation work. Now, il will be happy if we have an example with "as" to allow wrots like "1.km as miles"<BR/>Thank youAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6157078554344857271.post-77462726695377298692008-03-29T15:33:00.000+01:002008-03-29T15:33:00.000+01:00You can place Distance, Unit, and DistanceCategory...You can place Distance, Unit, and DistanceCategory in different files without problems. You have to remember, though, that if you put the classes in different packages, then you have to import them using the import statement (as usual in Java).Joachim Baumannhttps://www.blogger.com/profile/18044434220063411718noreply@blogger.comtag:blogger.com,1999:blog-6157078554344857271.post-62234790143513513572008-03-27T21:27:00.000+01:002008-03-27T21:27:00.000+01:00very good example.But tell me, can you separte the...very good example.<BR/>But tell me, can you separte the classes Distance and Unit ? the two classes must be in 1 file !!!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6157078554344857271.post-76725990936314943602007-10-06T11:23:00.000+02:002007-10-06T11:23:00.000+02:00For the unit conversion, I think you may have used...For the unit conversion, I think you may have used 'as', it would have allowed you to write things like: 1.km as Miles.Guillaume Laforgehttps://www.blogger.com/profile/03993980328127368671noreply@blogger.com