On Monday, 8 August 2016 19:04:48 UTC+3, rpaprocki wrote:
That being said, I don't think such prototyping is always effective.
I agree. No need to have this in core. There are these btw (not sure if they are same):
http://stevedonovan.github.io/Penlight/api/index.html
http://stevedonovan.github.io/microlight/
https://github.com/Yonaba/Moses
https://github.com/jtarchie/underscore-lua
https://github.com/Yonaba/30log
https://github.com/kikito/middleclass
https://github.com/jpatte/yaci.lua
In general, I wish most of the lua-resty-* libs have as little dependencies as they could. Being self-contained has its own benefits.
Copy-pasting 10 to 30 lines of code is not bad when you can avoid a dependency by doing that (especially this simple). Copy pasting hundreds of lines of code is a bad thing (usually), and having a dependency is a good thing. Again, I'm sure some people may think the other way around.