Worst ideas/features in programming languages?
Paulo Pinto
pjmlp at progtools.org
Tue Oct 12 06:14:10 UTC 2021
On Monday, 11 October 2021 at 15:59:10 UTC, Atila Neves wrote:
> I'm brainstorming about what I'll talk about at DConf, and
> during a conversation with Walter I thought it might be cool to
> talk about:
>
> * Worst features implemented in a non-toy language
- Null terminated strings without length validation
- No bounds checking by default
- Implicit conversions between enumerations and numeric types
- Lack on any sort of namespacing mechanism
- Use of explicit pointers for out parameters
> * Worst features (in your opinion) in D
- inconsistent tag soup, e.g. @safe vs pure, and the amount that
almost feels like coding with Spring annotations
- the __ prefixes for some runtime stuff like __traits
- chasing the next computing fad while trying to find out the
target audience
> * Features you'd like to see in D
- basically all the WIP stuff actually finalized before anything
new gets started
- safe by default (well I can still dream, until then @safe: at
the top of each module)
- a richer ecosystem, C++, Java and C# aren't the same ones as
when Andrei's book got published.
>
> Ideas? Examples?
>
> Thanks!
More information about the Digitalmars-d
mailing list