220 40930 <CAHSYqdYYZjeHHbRZ5bcHLYVsWfspwCeQ8oxEDRbuJ8dqAtsX5A@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Hyman Rosen <hyman.rosen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Can we have beginner friendly new line and
 deprecate std::endl?
Date: Thu, 8 Nov 2018 17:43:06 -0500
Lines: 56
Approved: news@gmane.org
Message-ID: <CAHSYqdYYZjeHHbRZ5bcHLYVsWfspwCeQ8oxEDRbuJ8dqAtsX5A@mail.gmail.com>
References: <e17189bf-51be-496d-845a-3707a516a210@isocpp.org> <CAMmfjbOkdN63EON+hrCJWj94n48vtVvMfUjzeau5KmPWSpwkow@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="00000000000009b7a3057a2ef6a0"
X-Trace: blaine.gmane.org 1541716874 8559 195.159.176.226 (8 Nov 2018 22:41:14 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Thu, 8 Nov 2018 22:41:14 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDKJJPVBQMKRBB7YSLPQKGQEBJ54CQY@isocpp.org Thu Nov 08 23:41:10 2018
Return-path: <std-proposals+bncBDKJJPVBQMKRBB7YSLPQKGQEBJ54CQY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wm1-f72.google.com ([209.85.128.72])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDKJJPVBQMKRBB7YSLPQKGQEBJ54CQY@isocpp.org>)
	id 1gKsz8-00027x-17
	for gclcip-std-proposals@m.gmane.org; Thu, 08 Nov 2018 23:41:10 +0100
Original-Received: by mail-wm1-f72.google.com with SMTP id d26-v6sf304953wmb.4
        for <gclcip-std-proposals@m.gmane.org>; Thu, 08 Nov 2018 14:43:20 -0800 (PST)
ARC-Seal: i=2; a=rsa-sha256; t=1541717000; cv=pass;
        d=google.com; s=arc-20160816;
        b=ZZPQAed1qbH2mYD+9fyCWwDXhO1tM8q/yLke5aF6KgdSDZEozU7+uvXUFyoaAtKYX+
         KvAkCAjeLmmByrUZR1RY+gWggBBxx8UMQxC8jo2570/zZrH5VlEDPX/GxRUaUo+7RDdY
         942YT8QB6S2UjPFzk7FAN+Cb2FoAC9T90MmWukJDabTKD3LOAeb3SyQSKvmZ/WJYHGYP
         lgMuslTeTPayz1AZcaqhTZRPlaTkxNcYW8daCnJDpAtK0wYCIhTjBo9dw/4iOvVyBR0N
         MoxIr7y5pAmB2vm/2XYotgAVoE6xUw6kqGldYAaJdEG0sFL3+oO9Q+bGKFAKck0LJzrg
         sxew==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date
         :from:in-reply-to:references:mime-version:dkim-signature;
        bh=Y1laP7x6JMVOeP2A3klMmz7AWGfJHBPM//MP5BlLZvQ=;
        b=JOUT9noIkIpSpkiR6F/vwJfkhU54LtzcwysethFdJGNFT0vQzOwjt3q1HIagX1CQp0
         Py6s3IihrvsME1B9YzSJYeWJS5zRcDPSUV9wqWbt1ESSGEXUUlvNZgFSjHgN4FLjGQNW
         O2Qf9c1oYayqmuphNHCc/+H7yZY7MXj697Qscfi8hWhEXLNhohRGPKwBBnvkCotQlnPH
         OUI3ItxNo0/qZQ93HZH6QRMe9jF4muV/1ZG9A/zObNYtQcalC1dsvUycdkcGH+geEIj+
         FnFx49/+jCyFNcWyJc6hpu0XwCMGWZMqOUI+Ykucu3URORASTZcPOsAvc7M9OJK1fRsT
         esnw==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=J9Kti+jv;
       spf=pass (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=hyman.rosen@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:references:in-reply-to:from:date:message-id:subject:to
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=Y1laP7x6JMVOeP2A3klMmz7AWGfJHBPM//MP5BlLZvQ=;
        b=acBkM6h3uJL6+EaER4CwgEe8bBvLC/JjJkbl0U5jD9rhXvM5AWOAxOZbf2nYDUsRXl
         YUyynzBG2zvioryUJZWsCgkwYIj2plfyUCjmDvYY06SvmW1n052rwKNHo9R157dKGjl4
         1MBvi2lvETFCAyXhow0cpSyIvhSg6ogqyt1ruYrnbDh30PLE4NfANVeFfN0kmhOIkhSQ
         vTnzD5vSDt40eb5onZdz/2FX9N50m6SUvH2Qrk7VkpLS/Pefr53QU81Z/CHUkd6S1KOD
         vmrLl75VUY0DNJwlf6GPwPUKmP5uz8VBZbJ4Espn0Y16Wpajo6GsLrCozKd82MzPOURi
         FQ8g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=Y1laP7x6JMVOeP2A3klMmz7AWGfJHBPM//MP5BlLZvQ=;
        b=MjBC7a9fXj3us5sgbtIXwGXAY1cv1rlacl1mPMmCZVL4IKAUCOk2a/EePpxk/ebLQw
         WK+jkneLLNOO0NEAYt+vsBz9GAlFSA3G9mbW9Ob5sseAU0ux1VaOA3Mi+xwva+AesmEm
         m9k9IvVaIRqIEqSG1bG48tgg+MaoVQvt5Shh9IMNtZpPDIvvRCfunhpFn1B72geQHoYM
         TARH4OxgwK7XGNfA045S6nFe5E1vImZAR8alqaT+cFfQ8WwJ0h5Yse7drnuxwQLWnvxX
         aQgv/kqVmMEWzgYcNeBlnwILTM3b/Y24E+IhpWYp745fsulNOfdE/DCoixFNpvKQ+JTz
         uyqg==
X-Gm-Message-State: AGRZ1gLT7ZBbdhWh9k8fkIrISzptcy5XGlnJzvwLEUIv23GkAQY3iUh4
	lTudEExsb9gVmzOVe3lRRvz2TA==
X-Google-Smtp-Source: AJdET5e5mRG0QGTcxW9qGVhWdx+orgIH2q4mn5BKkgARoT3KRRTnhgsp7mkPMlRZ+TcpcK6TcIgHzA==
X-Received: by 2002:a1c:b991:: with SMTP id j139-v6mr39848wmf.21.1541717000590;
        Thu, 08 Nov 2018 14:43:20 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a5d:5003:: with SMTP id e3-v6ls1029951wrt.24.gmail; Thu, 08
 Nov 2018 14:43:19 -0800 (PST)
X-Received: by 2002:adf:bc8f:: with SMTP id g15-v6mr6042951wrh.250.1541716999240;
        Thu, 08 Nov 2018 14:43:19 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1541716999; cv=none;
        d=google.com; s=arc-20160816;
        b=WbsnusJPm23cho6Qh8xXFGcXQ6DS7fqg5azsOAQbsu01C4mk0b1TE4DXlmIqg9bHAX
         woVIKcIuM8cBqH9YNeT0guKG2oDJ4q/4ZpS/iL8CoyHZ8VxSoGjnpOvg8uUpqDZL0L6u
         oftYo4J7hJRjjkwEuVU4ox9V71IgUXJZM6kU30b7LvB2XZP8b5SfZlUs4ONOOBBQoTIG
         orqXd8Fuq8v1viE01p388RKyDVZih+4Ivi/NXGmQ3nbhUpy/Izw630QqZwM8LVz+RQlk
         um7h81BuFCEdMBYcFXQMMeyIavIosFvhABs85cw8oAYfvMBwR7QokdNygc+jJzrfTVuz
         soaw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=to:subject:message-id:date:from:in-reply-to:references:mime-version
         :dkim-signature;
        bh=r1jH2nVG0xpJN0rK7ylgpYbZ2peBp9vo7VA4f5U0TYQ=;
        b=ISmF/rCqrceavULjWRUWXowHalZqb3MI7e07IsoXYTLWmDqyNtQZWM+H6zfkuQrg7j
         f/2hH3o3u/0ZxdFLaRgIs8JA7Bp4cp9BGYzUcvJIn1noxZShCtEeIjF/qlLCAgv7R1qh
         xrB7Z4yJNElYcFqSAF+TD0RnGFIGkM/Iapsc3Afg+aqrEfYd9bsakCJZ/tT2I8muOBA+
         qdGII2p55iGe/BEhIQxd1vbccqc/q8zCuCaUsxCEztuCD6R14n5YSDpl2T7x6tIZiUUb
         PWIMGqWQELVFFLA+Krp4Kgqnxhj6VcADbbrhhkJdOWGNNqFh11UnHzFuhMHeUixU5/en
         0g6g==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=J9Kti+jv;
       spf=pass (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=hyman.rosen@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Original-Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41])
        by mx.google.com with SMTPS id r124-v6sor3772568wmg.20.2018.11.08.14.43.19
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Thu, 08 Nov 2018 14:43:19 -0800 (PST)
Received-SPF: pass (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 2002:a1c:a8c9:: with SMTP id r192-v6mr2520612wme.98.1541716998467;
 Thu, 08 Nov 2018 14:43:18 -0800 (PST)
In-Reply-To: <CAMmfjbOkdN63EON+hrCJWj94n48vtVvMfUjzeau5KmPWSpwkow@mail.gmail.com>
X-Original-Sender: hyman.rosen@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b=J9Kti+jv;       spf=pass
 (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.41 as
 permitted sender) smtp.mailfrom=hyman.rosen@gmail.com;       dmarc=pass
 (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:40930
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/40930>

--00000000000009b7a3057a2ef6a0
Content-Type: text/plain; charset="UTF-8"

On Thu, Nov 8, 2018 at 5:08 PM Brian Bi <bbi5291@gmail.com> wrote:

> I think the reason why novices use std::endl is that they're under the
> impression (no doubt perpetuated by incompetent educators) that std::endl
> is portable whereas '\n' isn't.
>

I think novices use std::endl because that's how C++ formatted I/O
was presented for ages.  I have the feeling, completely unsupported
by evidence, that the iostreams designers thought manipulators were
really keen, and wanted to have one that would always get used.

-- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAHSYqdYYZjeHHbRZ5bcHLYVsWfspwCeQ8oxEDRbuJ8dqAtsX5A%40mail.gmail.com.

--00000000000009b7a3057a2ef6a0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr">On Thu, Nov 8,=
 2018 at 5:08 PM Brian Bi &lt;<a href=3D"mailto:bbi5291@gmail.com">bbi5291@=
gmail.com</a>&gt; wrote:</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"lt=
r"><div class=3D"gmail_quote"><div>I think the reason why novices use std::=
endl is that they&#39;re under the impression (no doubt perpetuated by inco=
mpetent educators) that std::endl is portable whereas &#39;\n&#39; isn&#39;=
t.</div></div></div></blockquote><div><br>I think novices use std::endl bec=
ause that&#39;s how C++ formatted I/O<br>was presented for ages.=C2=A0 I ha=
ve the feeling, completely unsupported<br>by evidence, that the iostreams d=
esigners thought manipulators were<br>really keen, and wanted to have one t=
hat would always get used.</div></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/CAHSYqdYYZjeHHbRZ5bcHLYVsWfspwCeQ8oxE=
DRbuJ8dqAtsX5A%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">htt=
ps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAHSYqdYYZjeHHbRZ=
5bcHLYVsWfspwCeQ8oxEDRbuJ8dqAtsX5A%40mail.gmail.com</a>.<br />

--00000000000009b7a3057a2ef6a0--

.
