Worst ideas/features in programming languages?

Paulo Pinto pjmlp at progtools.org
Sat Nov 6 20:26:58 UTC 2021


On Saturday, 6 November 2021 at 19:36:19 UTC, Ola Fosheim Grøstad 
wrote:
> On Saturday, 6 November 2021 at 19:13:11 UTC, Paulo Pinto wrote:
>> Go has exceptions, although they don't call them as such 
>> (panic/recover).
>
> They discourage using it for regular errors, and Go programmers 
> seem to swallow the very noice error-checking regime. Panic 
> recover is also quite clunky and runtime dependent. Yes, I 
> personally use it as clunky hack to emulate exceptions, but it 
> is much less maintainable.
>
>> programming, and they are in the process of adding vocabulary 
>> types for improved error handling, based on the experience of 
>> those libraries.
>
> Are they extending the language?

Have a look here,

https://blog.rust-lang.org/inside-rust/2021/07/01/What-the-error-handling-project-group-is-working-towards.html


More information about the Digitalmars-d mailing list