From: Tim Kynerd Date: 2003-04-01T00:55:56+09:00 Subject: Re: Hard coded newline characters On Mon, 31 Mar 2003 15:03:40 +0000, Julian Snitow wrote: > David King Landrith wrote: >> On Sunday, March 30, 2003, at 08:06 PM, nobu.nokada@softhome.net wrote: >> >>>> There are a surprising number of ruby source files that have newline >>>> (\n) characters hardcoded as the line terminator--it appears that way >>>> more than half of the files do. Shouldn't these be set to a macro >>>> that outputs $\ (or perhaps $,) character. It seems to me that the >>>> most of the places where ruby programs write directly to stdout are >>>> not places where speed is of the essense (e.g., printing stack >>>> traces.) >>> >>> >>> Interesting but I doubt its necessarity and worthfulness. >> >> >> Likewise with your reply. >> >> > Ouch. > I'm sure antagonizing people will *really* make them want to help you... I'm afraid I'm on David's side with this one. If I post here saying, "I need to do bla bla bla," I'm not helped by someone who posts back saying, "That's interesting, but I don't think it's necessary or worthwhile." If they don't understand why I need to do something and they want to know, they can ask rather than casting aspersions. Certainly it is often the case that there is a better way to do what someone thinks they want to do, especially if they are a beginner, as I still am with Ruby. But the way to handle that is to ask the question I've seen asked innumerable times in this and similar groups: "What is it you're trying to do, ultimately?" -rest snipped- -- Tim Kynerd Sundbyberg (sm�stan i storstan), Sweden tkynerd@spamcop.net Sunrise in Stockholm today: 6:22 Sunset in Stockholm today: 19:22 My rail transit photos at http://www.kynerd.nu