Hacker News new | past | comments | ask | show | jobs | submit login

So now everyone's pet project gets a language extension in Swift? Apple extended the language with @_functionBuilder for SwiftUI. Now Google wants to extend it with this differentiable stuff for TensorFlow.

Why won't they implement proper metaprogramming support instead of proliferating the core language?




> Why won't they implement proper metaprogramming support instead of proliferating the core language?

Proper metaprogramming support is hard. Polluting the language with special case hocus pocus is relatively easy.


> Polluting the language with special case hocus pocus is relatively easy

or if it's well done is it still hocus pocus pollution?


Then it's pollution with compiler magic. But only if it's really well done.




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

Search: