C is Brittle D is Plastic
Araq
rumpf_a at web.de
Wed Apr 1 16:35:54 UTC 2026
On Wednesday, 1 April 2026 at 16:04:08 UTC, Walter Bright wrote:
> On 3/30/2026 5:31 AM, matheus wrote:
>> Yes C has it flaws, but it's an older and popular language
>> even these days. In 90's it was a king among developers and
>> even today there are project being written with it. It's hard
>> to compare with more flexible language today, so it's look
>> like brittle, but at the same time is less complex than newer
>> languages. Coming from C, sometimes I get lost reading new
>> languages code and people making simple things more complex.
>
> C is indeed a simple language, but writing higher level code
> with it is awkward. Especially when one resorts to using the
> preprocessor for metaprogramming.
Well it's neither particularly simple to implement (is `T*x` a
declaration or a multiplication?) nor to use (so much UB...) nor
to read (too bad if the author used the preprocessor
extensively)... There is nothing "simple" about it; it lacks many
important features though... If you want simple, look into Forth
or Scheme or Oberon.
More information about the Digitalmars-d
mailing list