From: Tobias Reif Date: 2001-11-30T06:31:40+09:00 Subject: [ruby-talk:26966] Re: short article draft for review Dave Thomas wrote: > 1. Move the file between Unix and Windows boxes: what happens to the > literal newline? Is that what you wanted to happen? That alone suffices :) (I use UNIX format on Win, but anyways; that could cause problems) > 3. Are you trying to communicate with your code? If so, why confuse > the reader with non-idiomatic structures. That's what I tried: instead of \n which is a symbol / code / escape for a newline character, I wrote the thing I wanted to print: a newline character ;) > 4. What happens if you move the code en-masse into a method: > > |a = 1 > |print " > |" > |b = 2 > > might easily become > > |def my_method > | a = 1 > | print " > | " > | b = 2 > |end good argument > 5. Why take 9 characters to do what you can do more clearly with 4? my try was 3 characters, "\n" is 4 (?) Tobi -- Tobias Reif http://www.pinkjuice.com/myDigitalProfile.xhtml go_to('www.ruby-lang.org').get(ruby).play.create.have_fun http://www.pinkjuice.com/ruby/