Pedro Augusto de Paula Barbosa

Results 351 comments of Pedro Augusto de Paula Barbosa

@fregante Your last example can't be safely converted to a single loop... (in general)

> > > Should we consider this edge case > > ``` > for (const gamma of > bars.map(someFunctionDoSomethingOrChangesThePreviousElement) > ) { > gamma('ray') > } > ``` Hmm, I...

@futpib Hmm I don't like that limitation, I can see myself using `x().y()` for example, or a function with a short parameter, `x.foo(bar)`.

> > @fregante Your last example can't be safely converted to a single loop... (in general) > > "in general", really? I would argue in general it would be safe,...

@ahmadabdul3 Good question, no update that I know of, I will reopen this as a documentation issue, I think this deserves to be added to the docs

What would be the advantages over doing `& { type: 'title' }` (or `& { type: 'title' | 'number' }` on the desired type?

These are fantastic ideas indeed :)

This report is too cluttered, please try to create something much shorter and readable. Once you do I will reopen this

Thanks, this is better, but still I would like to see a [sequelize-sscce](https://github.com/papb/sequelize-sscce), can you please create one? Thanks