| Liste des Groupes | Revenir à cl c |
On 5/29/2026 2:52 AM, Janis Papanagnou wrote:If you're doing your own personal stuff that doesn't surprise me.On 2026-05-28 11:57, BGB wrote:Possibly.On 5/28/2026 2:18 AM, Janis Papanagnou wrote:[...]On 2026-05-28 01:49, BGB wrote:>I'm a big fan of abstractions. - So many things beyond "C" are fine!>
I am not saying that abstractions are bad, but I haven't usually found them to be worth the costs IME.
Wow! - That's completely different from my experience and practice.
>
It's what makes usage simple, fast, reliable. Not wasting time for
details, or fixing technical bugs that should be prevented by the
language.
But, it is also possible I approach programming in a different way.
Well, you mentioned gcc now repeatedly. Myself I had been using gcc[...]Possibly, a lot could depend on how one is counting things as well.
In a lot of cases when using GCC, I end up using:
-ffunction-sections -fdata-sections -Wl,-gc-sections
[...]Thanks for explaining your view on "syntactic sugar".[...]To be excluded from being syntactic sugar, it needs to be something that is not generally possible to express within the base language.
So, for example:
Things like operator overloading or classes are syntactic sugar IMO, as what they do can be expressed in C, even if a lot less pretty (or far from an idiomatic style).
I would not consider exceptions or RTTI as syntactic sugar, because these involve things that do not map to native C.
Using longjmp, pointer-tagging, etc, could be considered as analogous, but not functionally equivalent, to what C++ is doing in these cases.
[...]We've been talking about C++; for constants I regularly use constants.
We avoided macros if possible.They are de-facto for constants and similar, but for longer stuff is better avoided.
[...]
Les messages affichés proviennent d'usenet.