From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.ada Subject: Re: Teaching C/C++ from Ada perspective? Date: Tue, 03 Jul 2018 19:52:32 -0700 Organization: A noiseless patient Spider Message-ID: <87y3erww3z.fsf@nightsong.com> References: <856189aa-fa00-4960-929e-174f352310ad@googlegroups.com> <2718c8d4-5f35-4fd8-a1aa-1e60069a7a5d@googlegroups.com> <39fce60c-9f56-42fb-b679-fa08810b00ee@googlegroups.com> <47d4ddac-8dae-426c-9096-88d032c59cb0@googlegroups.com> <87efglmm3w.fsf@nightsong.com> <3dc496d4-dfaf-41c3-832f-7ee8a7ab46e0@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="9710fab9e2ceac4f33068bcf07236d44"; logging-data="22808"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18N/1mzV1zzfOGJLOc24XRv" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cancel-Lock: sha1:H/H/bG+XqEHU/oZlyJb4aWe5Ma4= sha1:gLDiBFG+zYJ35vPT6UQvjgGg0/o= Xref: reader02.eternal-september.org comp.lang.ada:53556 Date: 2018-07-03T19:52:32-07:00 List-Id: Marius Amado-Alves writes: > Stroustrup, Alexandrescu, and Meyers agree, the rest of the team are > unspoiled beginners, and there's no legacy code (pre C++11/14), or > else plenty of time to refactor. There is no need to write significant new code in legacy style. Sometimes you have to understand what legacy code does, and patch it here and there. But that doesn't involve much picking of idioms. Rather, you stay with the style of the existing code.