Andrea Ferretti

Results 160 comments of Andrea Ferretti

Hi @ringabout , thank you for your contribution, but there is an issue to fix before that: `shallowCopy` has been removed, and hence neo [is currently non functional](https://github.com/andreaferretti/neo/issues/50) on Nim...

Thank you for your contribution! I don't think the tradeoff here is worth, since without `resetCache`, the cache would grow unbounded at runtime, and that may be the cause of...

Well, then there is the easy solution: just define two different procs `memoize` and `memoizevm`. Then we can document when to use each one

I am not sure about this, but is there any chance you could use the `memoize` function at compile time? It only works for non-recursive functions, but it could help...

You are right for `min` and `max`. `compute` is only there for those ecosystems where the template rendering system does not allow computed properties (i.e., mustache) and is a pain...

For me the main distinction is that a typedesc parameter is just another parameter that can participate in overloading resolution, and I use them for ad-hoc polymorphism. I use generic...

@timotheecour Your mileage may vary, but I find ```nim proc zero[T: int]() = 0 proc zero[T: float]() = 0.0 proc zero[T: int32]() = 0'i32 ``` very odd. I did not...

I have one, https://github.com/andreaferretti/interfaced to which I have not contributed much, if anything. Actual work done by @krux02 and @RSDuck. Example of usage: ```nim import interfaced type Human = ref...

Maybe it would be useful to take a simple example of usage and express it using the different libraries in order to compare them

The issue tracker of interfaced can be a good place to discuss this