Re:Meta-programming JavaScript Using Proxies
by kbody on Thursday February 05, 2015 @08:40AM
(#9003150)
Quite true, I rather leave magic at Hogwarts.
Although the package nature of node etc. could be fitting for such magic behind some public facing API.
Also, I have some concerns over their performance but we will see in time.
Re:Meta-programming JavaScript Using Proxies
by sklogic on Thursday February 05, 2015 @09:22AM
(#9003337)
Because neither PHP nor JS can do anything close to a proper metaprogramming. No API can compete with a properly designed eDSL.
It's fun to play with but for actual work a clear, strongly defined API beats this sort of syntactic sugar like this any day.