C++ Logo

SG20

Advanced search

Subject: Re: Constant initialization in C++20
From: Giuseppe D'Angelo (giuseppe.dangelo_at_[hidden])
Date: 2019-06-20 16:34:16


Il 20/06/19 23:19, Mark A. Gibbs via SG20 ha scritto:
> Are there any other options for telling beginners what they can use for
> their variable/function/class/whatever names? Without showing them the
> list of keywords, how would they know they can't name something "union"
> or "register" or "default"?
>

Use an editor that highlights keywords in a special color?

My 2 c,

-- 
Giuseppe D'Angelo | giuseppe.dangelo_at_[hidden] | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts



SG20 list run by herb.sutter at gmail.com

Older Archives on Google Groups