Thread overview
simple ranges
1 day ago
monkyyy
1 day ago
Kapendev
1 day ago
Monkyyy
1 day ago
Dukc
1 day ago
Monkyyy
1 day ago

In light of phobos code sometimes having growing complexity in implementations, it maybe nice if every range function had a *Simplesuch asmapSimple` that had no overloading, no type checks, no default parameters, etc.

For canonical reference of behavior, debuging meta programming, and bandaiding if someone broke type inference inside template hell.

1 day ago

On Thursday, 28 August 2025 at 21:26:18 UTC, monkyyy wrote:

>

In light of phobos code sometimes having growing complexity in implementations, it maybe nice if every range function had a *Simplesuch asmapSimple` that had no overloading, no type checks, no default parameters, etc.

For canonical reference of behavior, debuging meta programming, and bandaiding if someone broke type inference inside template hell.

Code example?

1 day ago

On Friday, 29 August 2025 at 02:10:34 UTC, Kapendev wrote:

>

On Thursday, 28 August 2025 at 21:26:18 UTC, monkyyy wrote:

>

In light of phobos code sometimes having growing complexity in implementations, it maybe nice if every range function had a *Simplesuch asmapSimple` that had no overloading, no type checks, no default parameters, etc.

For canonical reference of behavior, debuging meta programming, and bandaiding if someone broke type inference inside template hell.

Code example?

Help thread earlier today about dense meta programming cycle bug where the cycle off the top of my head worked. Also basically whenever Phobos type checking is to agressive.

1 day ago

On Thursday, 28 August 2025 at 21:26:18 UTC, monkyyy wrote:

>

In light of phobos code sometimes having growing complexity in implementations, it maybe nice if every range function had a *Simplesuch asmapSimple` that had no overloading, no type checks, no default parameters, etc.

https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i/

1 day ago

On Friday, 29 August 2025 at 14:32:16 UTC, Dukc wrote:

>

On Thursday, 28 August 2025 at 21:26:18 UTC, monkyyy wrote:

>

In light of phobos code sometimes having growing complexity in implementations, it maybe nice if every range function had a *Simplesuch asmapSimple` that had no overloading, no type checks, no default parameters, etc.

https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i/

Let me just make your argument for you:

>

It’s important to remember that when you start from scratch there is absolutely no reason to believe that you are going to do a better job than you did the first time

I don't make false negative type inference bugs with this one weird trick that the standard style guide doesn't want you to know about