From: Leslie Viljoen Date: 2006-05-03T04:47:03+09:00 Subject: Re: Sharp knives and glue ------=_Part_44438_13401614.1146599219587 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 5/2/06, Leslie Viljoen wrote: > > > On 5/2/06, Leslie Viljoen wrote: > > > > > > I have a friend that works in PHP all day and enjoys the language > quite > > a > > > lot. I have been > > > recommending that he try Ruby, but he is bent on moving to Java > because > > > some > > > of the people he > > > works with are not good programmers and he thinks he needs a more > > > restrictive environment > > > in order to get some sanity in the code. > > > > > > I have read some posts about Ruby being a sharp knife and shooting > > > yourself > > > in the eye and > > > I must admit, I have been burned by these things. My Rails project > > worked > > > perfectly until > > > I uploaded it to Textdrive and since Glue had been installed, the > basic > > > environment had been > > > altered. By chance, Glue had defined a class with the same name as on= e > > of > > > my > > > Models and > > > somehow it overrode my class when the project ran. They removed Glue > > when > > > I > > > asked and > > > everything worked again, but it took me two days to find the problem. > > > > > > So I'd like to ask how many people out there use Ruby in teams - and > how > > > well Ruby has stood > > > up with everyone doing their own thing. I'd especially like to know > how > > it > > > goes when members > > > of the team are not so experienced. > > > > > > Les > > > > > > > > > > On 5/2/06, chiaro scuro wrote: > > > > uhm.. I have never used it in teams, but unit tests would be paramount. > > Truly *Unit* tests if you work in group, with mocks and everything. > > > Truly you are correct, unit tests would be great for a team. Although the= y > would not > have helped with my example problem, which is what bothered me about it. > I am wiser now to environmental issues though, and if I faced a similar > problem > in future I think I'd try changing Class.new to log each time an object i= s > created. Hmmm, I see also from other posts that $VERBOSE=3Dtrue will report when methods are redefined, so there ya arr. -- > > Chiaroscuro > > --- > > Liquid Development: http://liquiddevelopment.blogspot.com/ > > > > > > ------=_Part_44438_13401614.1146599219587--