C++ Logo

sg20

Advanced search

Re: [isocpp-ext] namespace composition

From: Gabriel Dos Reis <gdr_at_[hidden]>
Date: Sun, 30 Apr 2023 18:23:16 +0000
In production setting, how useful is "debug mode" (however easy it is to figure out)?

-- Gaby

________________________________
From: Ext <ext-bounces_at_[hidden]> on behalf of Marc Glisse via Ext <ext_at_[hidden]>
Sent: Sunday, April 30, 2023 10:40:35 AM
To: Ville Voutilainen via Ext <ext_at_[hidden]>
Cc: Marc Glisse <marc.glisse_at_[hidden]>; sg20_at_[hidden] <sg20_at_[hidden]>
Subject: Re: [isocpp-ext] [SG20] namespace composition

On Sun, 30 Apr 2023, Ville Voutilainen via Ext wrote:

> On Sun, 30 Apr 2023 at 20:09, Andrew Tomazos <andrewtomazos_at_[hidden]> wrote:
>>> We are talking about students that will be taught this year and the
>>> next. The forthcoming contracts don't arrive in time for that.
>>
>>
>> Well then perhaps worth mentioning is that libstdc++ (at least) has something like it today. This is std::vector::operator[] from libstdc++
>
> It's perhaps worth considering that some teaching approaches don't
> require a particular environment and implementation, and don't
> want to spend time figuring out the same tooling solutions for
> multiple implementations.

Comparing the one-time cost of figuring out some flags for the 3 major
implementations (for some it may be as easy as selecting "debug mode" in
an IDE, which may even be the default, and a suitable list probably
already exists in a few places on the web) vs the time saved in debugging,
I'd recommend carefully evaluating this decision.

--
Marc Glisse
_______________________________________________
Ext mailing list
Ext_at_[hidden]
Subscription: https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isocpp.org%2Fmailman%2Flistinfo.cgi%2Fext&data=05%7C01%7Cgdr%40microsoft.com%7C998a3da81a9e4467601e08db49a203e1%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638184732427249933%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=XX%2FMQ62DwbuYIbu%2F1zjHR1I9Xh%2FVYtJ4C0pZUEFYlzc%3D&reserved=0<https://lists.isocpp.org/mailman/listinfo.cgi/ext>
Link to this post: https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.isocpp.org%2Fext%2F2023%2F04%2F21182.php&data=05%7C01%7Cgdr%40microsoft.com%7C998a3da81a9e4467601e08db49a203e1%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638184732427406157%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=EkLNVgTh7zWmw5BRXlSAdFBSu5E5OkXddvuoy0t%2FJ%2F0%3D&reserved=0<http://lists.isocpp.org/ext/2023/04/21182.php>

Received on 2023-04-30 18:23:20