From: Leslie Viljoen Date: 2006-05-03T03:37:03+09:00 Subject: Re: Sharp knives and glue ------=_Part_42881_3072557.1146595020793 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: > > > > 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 one > 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 ho= w > > 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 they 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 is created. -- > Chiaroscuro > --- > Liquid Development: http://liquiddevelopment.blogspot.com/ > > ------=_Part_42881_3072557.1146595020793--