Worst ideas/features in programming languages?

max haughton maxhaton at gmail.com
Wed Oct 13 04:12:54 UTC 2021


On Wednesday, 13 October 2021 at 02:39:47 UTC, Paul Backus wrote:
> On Wednesday, 13 October 2021 at 01:56:19 UTC, russhy wrote:
>> this is why things like tagged union (sumtype) and multiple 
>> return type should be implemented as language features, that 
>> way it is easier to parse (on top of other benefits)
>>
>> please push for language feature! your work on sumtype was 
>> great, but there is much more to gain from upgrading it as a 
>> language feature
>
> If anyone wants to work on a DIP and implementation for 
> built-in sum types, they will have my full support. 
> Unfortunately, I do not have the time or the skills necessary 
> to lead such a project myself.

I think such a feature would benefit from having tuple syntax and 
semantics done first. Timon did have a DIP for tuples.


More information about the Digitalmars-d mailing list