| Deutsch English Français Italiano |
|
<vegodm$nkel$1@raubtier-asyl.eternal-september.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail From: Bonita Montero <Bonita.Montero@gmail.com> Newsgroups: comp.lang.c Subject: Re: constexpr keyword is unnecessary Date: Sun, 13 Oct 2024 17:19:40 +0200 Organization: A noiseless patient Spider Lines: 11 Message-ID: <vegodm$nkel$1@raubtier-asyl.eternal-september.org> References: <veb5fi$3ll7j$1@dont-email.me> <vedv0a$5m19$1@dont-email.me> <veeqhi$ar0c$2@dont-email.me> <veg59o$kolq$1@dont-email.me> <vegbeb$llri$2@dont-email.me> <vegc3l$lqrd$1@raubtier-asyl.eternal-september.org> <vegevc$m5na$1@dont-email.me> <vegg4q$mdj0$1@raubtier-asyl.eternal-september.org> <veggq8$mbh9$1@dont-email.me> <vegh32$mi48$1@raubtier-asyl.eternal-september.org> <vegia7$mofs$1@dont-email.me> <vegj0r$mrl5$1@raubtier-asyl.eternal-september.org> <veglom$n8io$1@dont-email.me> <vegm6g$n9q7$1@raubtier-asyl.eternal-september.org> <vegnfd$ngn6$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 13 Oct 2024 17:19:18 +0200 (CEST) Injection-Info: raubtier-asyl.eternal-september.org; posting-host="c70044d56ce67ca2d81b0f66bfd60be6"; logging-data="774613"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/0mT5hvnhVc3vbnzkLD22IZ6O0BqLGinY=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:gzAvrs7GV2hriHbsn5yrBmQSkjE= Content-Language: de-DE In-Reply-To: <vegnfd$ngn6$1@dont-email.me> Bytes: 2090 Am 13.10.2024 um 17:03 schrieb Janis Papanagnou: > For me, writing int i = 0; and const int i = 0; is perfectly > readable, and (unnecessarily!) adding another keyword degrades > readability. The difference is that for local variable const can be overridden since this const is only logical constness but not physical const- ness. This minimalist mindset is simply no longer up to date and, considering the simplicity of the feature, simply absurd.