On Tue, Sep 02, 2003 at 10:10:25AM +0900, Greg McIntyre wrote: > Jon_Aquino / shaw.ca (Jonathan Aquino) wrote: > > I wish Ruby had Python's use of whitespace to indicate blocks. Then I > > wouldn't see all these lines that simply say "end" or "}". > > I can happily say after tutoring a 3rd year university Python course and > using Ruby in my spare time, I'd go the Ruby-way! I made this decision > only after a painfully long hard stare at a piece of malfunctioning > Python code written by one of my top students -- the problem was a > single level of indentation and it was difficult to spot, even though > we'd tracked it down to a 10-line method! Gah! >:\ Thank you for that post. This is a good thing to know. I also teach at university and I hope to incorporate Ruby some day. So your experience is valuable. Do you have that piece of code handy? It would be good to see that example. Yes, I do prefer Ruby's way. The "end" does not make the code any uglier, and it does remove some ambiguity from the code (I think). -- Daniel Carrera, Math PhD student at UMD. PGP KeyID: 9AF77A88 .-"~~~"-. / O O \ ATTENTION ALL PASCAL USERS: : s : \ \___/ / To commemorate the anniversary of Blaise Pascal's `-.___.-' birth (today) all your programs will run at half speed.