Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Where can I see it in the code?



Yes, but what files specifically use the pattern described? I had a quick look through some files and didn't see anything like that.


I think they were probably referring to https://github.com/tinyplex/tinybase/blob/main/src/common/ar... and the like for wrapper array.map and array.forEach and array.sort.

I don't think there's dozens, but there's a fair few. Most of the stuff in the common directory seems to be standard patterns they use, so it's doing more than just wrapping a function.


Check the cross cutting concerns, could be a good place to look to find code that tries to save on its re-use. I looked in ./src/common/ and found

https://github.com/tinyplex/tinybase/blob/main/src/common/ar...

which could be to some extent and example of what the OP is talking about.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: