digitalmars.dip.ideas - simple ranges
- monkyyy (7/7) Aug 28 2025 In light of phobo`s code sometimes having growing complexity in
- Kapendev (3/10) Aug 28 2025 [Code
- Monkyyy (4/15) Aug 28 2025 Help thread earlier today about dense meta programming cycle bug
- Dukc (2/6) Aug 29 2025 https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-par...
- Monkyyy (5/14) Aug 29 2025 I don't make false negative type inference bugs with this one
In light of phobo`s code sometimes having growing complexity in implementations, it maybe nice if every range function had a `*Simple` such as `mapSimple` 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.
Aug 28 2025
On Thursday, 28 August 2025 at 21:26:18 UTC, monkyyy wrote:In light of phobo`s code sometimes having growing complexity in implementations, it maybe nice if every range function had a `*Simple` such as `mapSimple` 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?](https://www.youtube.com/live/Ou4KUBjr_78?si=aG8ImIpQ31B5Qo9R&t=18101)
Aug 28 2025
On Friday, 29 August 2025 at 02:10:34 UTC, Kapendev wrote:On Thursday, 28 August 2025 at 21:26:18 UTC, monkyyy wrote: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.In light of phobo`s code sometimes having growing complexity in implementations, it maybe nice if every range function had a `*Simple` such as `mapSimple` 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?](https://www.youtube.com/live/Ou4KUBjr_78?si=aG8ImIpQ31B5Qo9R&t=18101)
Aug 28 2025
On Thursday, 28 August 2025 at 21:26:18 UTC, monkyyy wrote:In light of phobo`s code sometimes having growing complexity in implementations, it maybe nice if every range function had a `*Simple` such as `mapSimple` 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/
Aug 29 2025
On Friday, 29 August 2025 at 14:32:16 UTC, Dukc wrote:On Thursday, 28 August 2025 at 21:26:18 UTC, monkyyy wrote:Let me just make your argument for you:In light of phobo`s code sometimes having growing complexity in implementations, it maybe nice if every range function had a `*Simple` such as `mapSimple` 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/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 timeI 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
Aug 29 2025









Monkyyy <crazymonkyyy gmail.com> 