Re:Generalizing Support for Functional OOP in R
by orhmeh09 on Tuesday May 28, 2024 @07:39PM
(#40506734)
Thank you for the correction. Is it possible to use NSE in say Python or JavaScript?
[ Parent
| on HN ]
Re:Generalizing Support for Functional OOP in R
by CornCobs on Tuesday May 28, 2024 @08:11PM
(#40506892)
Yes, though the languages do not support it explicitly you can simulate lazy evaluation by wrapping all your arguments in closures. This way they won't be evaluated until called within the function body.