Re: print with newline
| From: | Rowan Collins | Date: | Sun, 03 Mar 2019 14:33:36 +0000 |
| Subject: | Re: print with newline | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-104558@lists.php.net to get a copy of this message | ||
On 02/03/2019 23:15, Steven Penny wrote:
I think Johannes recognises that, but considers it a poor design choice on the part of those languages. Perl has a reputation as a rather cryptic, "write only" language, best suited to short, throw-away scripts, and cryptically named magic variables like this are a big part of that. Regards, -- Rowan Collins [IMSoP]you post this without recognizing that Perl and Ruby already have this for many years.4. introduce a new variable, perhaps "$OUTPUT_RECORD_SEPARATOR", "$ORS", "$\" or similar, that controls output record separatorSuch magic is hard to debug and easily leads to bugs in user code.