On Wednesday, 24 November 2021 at 06:48:12 UTC, zjh wrote:
>The funniest part is that it's often not the deep users of D who say D is bad.
Brags about other languages, and is critical of D.
Bad money drives out good
money.
November 24, 2021 Re: Worst ideas/features in programming languages? | ||||
---|---|---|---|---|
| ||||
Posted in reply to zjh | On Wednesday, 24 November 2021 at 06:48:12 UTC, zjh wrote: >The funniest part is that it's often not the deep users of D who say D is bad. Brags about other languages, and is critical of D. |
November 24, 2021 Re: Worst ideas/features in programming languages? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Timon Gehr | On Wednesday, 24 November 2021 at 05:29:54 UTC, Timon Gehr wrote:
> On 23.11.21 14:41, Atila Neves wrote:
>> On Tuesday, 16 November 2021 at 02:14:22 UTC, Timon Gehr wrote:
>>> [...]
>>
>> I don't see any good reason to shut it down, never mind stupid reasons.
>
> There are some details such as ABI and sizeof(()). I'll probably get back to this by January. (Some other commitments will have ended by then.)
That will be highly appreciated.
Is there anything we could do to help you?
Can I buy you a coffee/pizza/beer/scotch/.. ?
|
December 17, 2021 Re: Worst ideas/features in programming languages? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Atila Neves | On Monday, 11 October 2021 at 15:59:10 UTC, Atila Neves wrote:
> * Worst features implemented in a non-toy language
> * Worst features (in your opinion) in D
I am a bit late to this party :) but after reading all 29 pages of it I would say most of it is said except this one thing:
I hate language constructs that go in opposite order from my thoughts making me type something then having to navigate back to add another thing. Best example for this is casting in any language. I always have to write cast operator before the thing I am casting yet in my head I never think "then I need to cast to int the variable X that I want to add". I think more like "Then I need to add variable X but I have to cast it to int".
|
December 17, 2021 Re: Worst ideas/features in programming languages? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Igor | On Friday, 17 December 2021 at 13:14:50 UTC, Igor wrote: >On Monday, 11 October 2021 at 15:59:10 UTC, Atila Neves wrote: >
I am a bit late to this party :) but after reading all 29 pages of it I would say most of it is said except this one thing: I hate language constructs that go in opposite order from my thoughts making me type something then having to navigate back to add another thing. Best example for this is casting in any language. I always have to write cast operator before the thing I am casting yet in my head I never think "then I need to cast to int the variable X that I want to add". I think more like "Then I need to add variable X but I have to cast it to int". You must love the |
December 17, 2021 Re: Worst ideas/features in programming languages? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Timon Gehr | On Thursday, 11 November 2021 at 02:20:50 UTC, Timon Gehr wrote:
> "Add an empty invariant to your types for maximum type safety", "we have constructors, but your types have to cope with arbitrary bit patterns anyway" or "this thing is @safe but some compiler backends may treat it as UB anyway" are The Last Thing D Needs.
This is unfortunately true. This is pervasive in D and by far the biggest practical problem with it.
|
December 17, 2021 Re: Worst ideas/features in programming languages? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paul Backus | On Monday, 15 November 2021 at 14:09:53 UTC, Paul Backus wrote:
> On Monday, 15 November 2021 at 14:02:42 UTC, Imperatorn wrote:
>>
>> What's wrong about retro? Too retro :D
>
> std.range.retro is honestly just a bad name. It should have been `reversed`, or maybe `reverser`.
```
alias reversed = retro;
```
Problem solved :)
|
December 17, 2021 Re: Worst ideas/features in programming languages? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Igor | On Friday, 17 December 2021 at 13:14:50 UTC, Igor wrote: >On Monday, 11 October 2021 at 15:59:10 UTC, Atila Neves wrote: >
I am a bit late to this party :) but after reading all 29 pages of it I would say most of it is said except this one thing: I hate language constructs that go in opposite order from my thoughts making me type something then having to navigate back to add another thing. Best example for this is casting in any language. I always have to write cast operator before the thing I am casting yet in my head I never think "then I need to cast to int the variable X that I want to add". I think more like "Then I need to add variable X but I have to cast it to int". In sql you can write Also in c# you can write |
December 17, 2021 Re: Worst ideas/features in programming languages? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tejas | On Friday, 17 December 2021 at 13:33:00 UTC, Tejas wrote: >On Friday, 17 December 2021 at 13:14:50 UTC, Igor wrote: >On Monday, 11 October 2021 at 15:59:10 UTC, Atila Neves wrote: >[...] I am a bit late to this party :) but after reading all 29 pages of it I would say most of it is said except this one thing: I hate language constructs that go in opposite order from my thoughts making me type something then having to navigate back to add another thing. Best example for this is casting in any language. I always have to write cast operator before the thing I am casting yet in my head I never think "then I need to cast to int the variable X that I want to add". I think more like "Then I need to add variable X but I have to cast it to int". You must love the That's indeed a good way to have cast as postfix expressions except that |
December 17, 2021 Re: Worst ideas/features in programming languages? | ||||
---|---|---|---|---|
| ||||
Posted in reply to user1234 | On Friday, 17 December 2021 at 17:50:25 UTC, user1234 wrote: >On Friday, 17 December 2021 at 13:33:00 UTC, Tejas wrote: >On Friday, 17 December 2021 at 13:14:50 UTC, Igor wrote: >[...] You must love the That's indeed a good way to have cast as postfix expressions except that Those are not good things? |
December 18, 2021 Re: Worst ideas/features in programming languages? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | On Monday, 15 November 2021 at 14:19:00 UTC, Steven Schveighoffer wrote: >On 11/15/21 7:41 AM, Timon Gehr wrote: >In particular, there is Although it's fallen mostly out of style, the reason I hated Maybe this is older. When I came to D around 2015, I learned that there is |